diff options
-rwxr-xr-x | lib/tests/sources.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/tests/sources.sh b/lib/tests/sources.sh index 1f63cac5005af..e148d023c8546 100755 --- a/lib/tests/sources.sh +++ b/lib/tests/sources.sh @@ -9,10 +9,11 @@ die() { } if test -n "${TEST_LIB:-}"; then - export NIX_PATH=nixpkgs="$(dirname "$TEST_LIB")" + NIX_PATH=nixpkgs="$(dirname "$TEST_LIB")" else - export NIX_PATH=nixpkgs="$(cd $(dirname ${BASH_SOURCE[0]})/../..; pwd)" + NIX_PATH=nixpkgs="$(cd $(dirname ${BASH_SOURCE[0]})/../..; pwd)" fi +export NIX_PATH work="$(mktemp -d)" clean_up() { |