aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-auto.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-08 14:32:02 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-08-08 15:49:19 +0200
commitab16b3d076e9cd3ecfdcde128f43dd486b072557 (patch)
treee0c9386a147ea75c44b6fd50642cd24274782558 /tests/gc-auto.sh
parent1d750e058738f92b378a6bfbdadb025d1463c243 (diff)
Fix gc-auto test
Diffstat (limited to 'tests/gc-auto.sh')
-rw-r--r--tests/gc-auto.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gc-auto.sh b/tests/gc-auto.sh
index 1e91282d0..e770e665c 100644
--- a/tests/gc-auto.sh
+++ b/tests/gc-auto.sh
@@ -29,7 +29,7 @@ with import ./config.nix; mkDerivation {
EOF
)
-nix build -o $TEST_ROOT/result-A -L "($expr)" \
+nix build --impure -o $TEST_ROOT/result-A -L "($expr)" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1 &
pid=$!
@@ -50,7 +50,7 @@ with import ./config.nix; mkDerivation {
EOF
)
-nix build -o $TEST_ROOT/result-B -L "($expr2)" \
+nix build --impure -o $TEST_ROOT/result-B -L "($expr2)" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1
wait "$pid"