aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-build.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18 13:15:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18 13:15:55 +0000
commit1dcf208f562d853909ad53772c208dcb2a73de88 (patch)
treeb7f79afeb5bc7531c63dead1567913bed523a781 /tests/nix-build.sh
parent93b6926054b0b339d310a3075a677a65676c7c11 (diff)
* Clean up some tests (use nix-build where appropriate).
Diffstat (limited to 'tests/nix-build.sh')
-rw-r--r--tests/nix-build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nix-build.sh b/tests/nix-build.sh
index 22980956b..aab3615cc 100644
--- a/tests/nix-build.sh
+++ b/tests/nix-build.sh
@@ -1,8 +1,8 @@
source common.sh
-$nixstore --gc
+clearStore
-(cd $TEST_ROOT && $NIX_BIN_DIR/nix-build ../dependencies.nix)
+(cd $TEST_ROOT && $nixbuild ../dependencies.nix)
test "$(cat $TEST_ROOT/result/foobar)" = FOOBAR
# The result should be retained by a GC.