about summary refs log tree commit diff
path: root/tests/build-dry.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-07T19·15+0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-15T14·36+0200
commit5064971ded3e2cc7c6b80d3166270a87a9650c09 (patch)
treedcc28ef5e2f7ab7e1eccb3639f40bb3971d56897 /tests/build-dry.sh
parent34fa8ce9179b17cc4cd13ae49b69fccf393271a0 (diff)
Fix test failures when $TMPDIR changes
(cherry picked from commit c38c726eb5d447c7e9d894d57cd05ac46c173ddd)
Diffstat (limited to 'tests/build-dry.sh')
-rw-r--r--tests/build-dry.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/build-dry.sh b/tests/build-dry.sh
index 610e6070c5d7..e72533e70614 100644
--- a/tests/build-dry.sh
+++ b/tests/build-dry.sh
@@ -8,13 +8,13 @@ clearStore
 clearCache
 
 # Ensure this builds successfully first
-nix build -f dependencies.nix
+nix build --no-link -f dependencies.nix
 
 clearStore
 clearCache
 
 # Try --dry-run using old command first
-nix-build dependencies.nix --dry-run 2>&1 | grep "will be built"
+nix-build --no-out-link dependencies.nix --dry-run 2>&1 | grep "will be built"
 # Now new command:
 nix build -f dependencies.nix --dry-run 2>&1 | grep "will be built"
 
@@ -27,7 +27,7 @@ clearCache
 # Try --dry-run using new command first
 nix build -f dependencies.nix --dry-run 2>&1 | grep "will be built"
 # Now old command:
-nix-build dependencies.nix --dry-run 2>&1 | grep "will be built"
+nix-build --no-out-link dependencies.nix --dry-run 2>&1 | grep "will be built"
 fi
 
 ###################################################