1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-16 02:01:59 +02:00

Fix test failures when $TMPDIR changes

(cherry picked from commit c38c726eb5)
This commit is contained in:
Eelco Dolstra 2019-05-07 21:15:45 +02:00
parent 34fa8ce917
commit 5064971ded
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 8 additions and 10 deletions

View file

@ -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
###################################################