about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-08T16·22+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-08T16·22+0200
commit46e36f9b73456e79d5e32eb9743bb41816b553da (patch)
treebb98cc16f19a9085b0e1288a00bacc3893811560
parentff0c0b645cc1448959126185bb2fafe41cf0bddf (diff)
Fix test failure
-rw-r--r--tests/tarball.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tarball.sh b/tests/tarball.sh
index 329e73b91696..ba534c6261ad 100644
--- a/tests/tarball.sh
+++ b/tests/tarball.sh
@@ -15,11 +15,11 @@ tarball=$TEST_ROOT/tarball.tar.xz
 
 nix-env -f file://$tarball -qa --out-path | grep -q dependencies
 
-nix-build -o $TMPDIR/result file://$tarball
+nix-build -o $TEST_ROOT/result file://$tarball
 
-nix-build -o $TMPDIR/result '<foo>' -I foo=file://$tarball
+nix-build -o $TEST_ROOT/result '<foo>' -I foo=file://$tarball
 
-nix-build -o $TMPDIR/result -E "import (fetchTarball file://$tarball)"
+nix-build -o $TEST_ROOT/result -E "import (fetchTarball file://$tarball)"
 
 nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar.xz
 nix-instantiate --eval -E 'with <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball.tar.xz