Skip to content

Commit

Permalink
Merge pull request #12012 from wh0/patch-1
Browse files Browse the repository at this point in the history
tests: derivation-advanced-attributes unset NIX_STORE
  • Loading branch information
mergify[bot] authored Dec 14, 2024
2 parents 44bc4c6 + d1894f3 commit 77e391b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/derivation-advanced-attributes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 77e391b

Please sign in to comment.