about summary refs log tree commit diff
path: root/tests/nix-build.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-11T23·14-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-11T23·14-0400
commitd4c3b6327ff88273462cec57b0e2805d333c386e (patch)
tree2bf147475b21a67109a4aea0f1a95f76dd5712ea /tests/nix-build.sh
parent1f7901ec3b66fa80203bbac2cd6852eda389ba18 (diff)
Don't put results symlinks in the tests directory
Diffstat (limited to 'tests/nix-build.sh')
-rw-r--r--tests/nix-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-build.sh b/tests/nix-build.sh
index d575e9aae9f0..dc0e99c73621 100644
--- a/tests/nix-build.sh
+++ b/tests/nix-build.sh
@@ -2,7 +2,7 @@ source common.sh
 
 clearStore
 
-(cd $TEST_ROOT && nix-build ../dependencies.nix)
+nix-build dependencies.nix -o $TEST_ROOT/result
 test "$(cat $TEST_ROOT/result/foobar)" = FOOBAR
 
 # The result should be retained by a GC.