mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Merge pull request #12012 from wh0/patch-1
tests: derivation-advanced-attributes unset NIX_STORE
This commit is contained in:
commit
77e391b39d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ badExitCode=0
|
|||
store="$TEST_ROOT/store"
|
||||
|
||||
for nixFile in derivation/*.nix; do
|
||||
drvPath=$(nix-instantiate --store "$store" --pure-eval --expr "$(< "$nixFile")")
|
||||
drvPath=$(env -u NIX_STORE nix-instantiate --store "$store" --pure-eval --expr "$(< "$nixFile")")
|
||||
testName=$(basename "$nixFile" .nix)
|
||||
got="${store}${drvPath}"
|
||||
expected="derivation/$testName.drv"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue