mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Fix test failures when $TMPDIR changes
This commit is contained in:
parent
b9c016abc1
commit
c38c726eb5
4 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
|
||||
###################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue