about summary refs log tree commit diff
path: root/tests/tarball.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24T13·38+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24T13·45+0100
commit3b81b2645706d7f8d9c0ec228426dee8ef1fc7ac (patch)
tree38538081e9a7d0db61b401b8765290c396bfe0f0 /tests/tarball.sh
parent374198ad6d8747c135ce8d8a8284723b0968aeef (diff)
Use shorter daemon socket path in tests
Otherwise we hit the 104 character limit.

http://hydra.nixos.org/build/33562028
Diffstat (limited to 'tests/tarball.sh')
-rw-r--r--tests/tarball.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tarball.sh b/tests/tarball.sh
index cb5258a9e548..ae18490c2b62 100644
--- a/tests/tarball.sh
+++ b/tests/tarball.sh
@@ -16,8 +16,8 @@ tarball=$TEST_ROOT/tarball.tar.xz
 
 nix-env -f file://$tarball -qa --out-path | grep -q dependencies
 
-nix-build file://$tarball
+nix-build -o $TMPDIR/result file://$tarball
 
-nix-build '<foo>' -I foo=file://$tarball
+nix-build -o $TMPDIR/result '<foo>' -I foo=file://$tarball
 
-nix-build -E "import (fetchTarball file://$tarball)"
+nix-build -o $TMPDIR/result -E "import (fetchTarball file://$tarball)"