about summary refs log tree commit diff
path: root/tests/nix-build.sh
diff options
context:
space:
mode:
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.