mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
* Unless --with-bzip2 is specified, use a copy of bzip2 in the
externals directory. This is in particular useful because though most systems have bzip2/bunzip2, they don't always have libbz2, which we need for bsdiff/bspatch.
This commit is contained in:
parent
ef2d4a2da9
commit
03162f8f47
5 changed files with 58 additions and 14 deletions
|
@ -24,6 +24,10 @@ export NIX_BUILD_HOOK=
|
|||
export PERL=perl
|
||||
export TOP=$(pwd)/..
|
||||
export aterm_bin=@aterm_bin@
|
||||
export bzip2_bin_test="@bzip2_bin_test@"
|
||||
if test "${bzip2_bin_test:0:1}" != "/"; then
|
||||
bzip2_bin_test=`pwd`/${bzip2_bin_test}
|
||||
fi
|
||||
export dot=@dot@
|
||||
export xmllint="@xmllint@"
|
||||
export xmlflags="@xmlflags@"
|
||||
|
|
|
@ -24,6 +24,8 @@ ln -s $nixhash $NIX_BIN_DIR/
|
|||
ln -s $TOP/scripts/nix-prefetch-url $NIX_BIN_DIR/
|
||||
ln -s $TOP/scripts/nix-collect-garbage $NIX_BIN_DIR/
|
||||
ln -s $TOP/scripts/nix-build $NIX_BIN_DIR/
|
||||
ln -s $bzip2_bin_test/bzip2 $NIX_BIN_DIR/
|
||||
ln -s $bzip2_bin_test/bunzip2 $NIX_BIN_DIR/
|
||||
mkdir $NIX_BIN_DIR/nix
|
||||
ln -s $TOP/scripts/download-using-manifests.pl $NIX_BIN_DIR/nix/
|
||||
ln -s $TOP/scripts/readmanifest.pm $NIX_BIN_DIR/nix/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue