aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-auto.sh
diff options
context:
space:
mode:
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 a74c675b0..e593697a9 100644
--- a/tests/gc-auto.sh
+++ b/tests/gc-auto.sh
@@ -57,11 +57,11 @@ with import ./config.nix; mkDerivation {
EOF
)
-nix build --impure -v -o $TEST_ROOT/result-A -L "($expr)" \
+nix build --impure -v -o $TEST_ROOT/result-A -L --expr "$expr" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1 &
pid=$!
-nix build --impure -v -o $TEST_ROOT/result-B -L "($expr2)" \
+nix build --impure -v -o $TEST_ROOT/result-B -L --expr "$expr2" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1
wait "$pid"