mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm under
the Nix:: namespace.
This commit is contained in:
parent
659c427caa
commit
6fcdbcac20
20 changed files with 108 additions and 147 deletions
|
@ -1,5 +1,7 @@
|
|||
set -e
|
||||
|
||||
export TOP=$(pwd)/..
|
||||
|
||||
export TEST_ROOT=$(pwd)/test-tmp
|
||||
export NIX_STORE_DIR
|
||||
if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store 2> /dev/null); then
|
||||
|
@ -15,9 +17,12 @@ export NIX_DB_DIR=$TEST_ROOT/db
|
|||
export NIX_CONF_DIR=$TEST_ROOT/etc
|
||||
export NIX_BIN_DIR=$TEST_ROOT/bin
|
||||
export NIX_LIBEXEC_DIR=$TEST_ROOT/bin
|
||||
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
|
||||
export NIX_ROOT_FINDER=
|
||||
export SHARED=$TEST_ROOT/shared
|
||||
|
||||
export PATH=$NIX_BIN_DIR:$TOP/scripts:$PATH
|
||||
|
||||
export NIX_REMOTE=
|
||||
|
||||
export REAL_BIN_DIR=@bindir@
|
||||
|
@ -27,10 +32,10 @@ export REAL_DATA_DIR=@datadir@
|
|||
export REAL_STORE_DIR=@storedir@
|
||||
export NIX_BUILD_HOOK=
|
||||
export PERL=perl
|
||||
export TOP=$(pwd)/..
|
||||
export bzip2_bin_test="@bzip2_bin_test@"
|
||||
if test "${bzip2_bin_test:0:1}" != "/"; then
|
||||
bzip2_bin_test=`pwd`/${bzip2_bin_test}
|
||||
export PERL5LIB=$TOP/perl/lib
|
||||
export NIX_BZIP2="@bzip2_bin_test@/bzip2"
|
||||
if test "${NIX_BZIP2:0:1}" != "/"; then
|
||||
NIX_BZIP2=`pwd`/${NIX_BZIP2}
|
||||
fi
|
||||
export dot=@dot@
|
||||
export xmllint="@xmllint@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue