diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-07T19·15+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-15T14·36+0200 |
commit | 5064971ded3e2cc7c6b80d3166270a87a9650c09 (patch) | |
tree | dcc28ef5e2f7ab7e1eccb3639f40bb3971d56897 /tests/build-dry.sh | |
parent | 34fa8ce9179b17cc4cd13ae49b69fccf393271a0 (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.sh | 6 |
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 ################################################### |