diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-27 15:11:36 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-02-27 15:11:36 +0100 |
commit | dd93c12c6a3ebf5b52fe7045d708ed10f6acd0dd (patch) | |
tree | 4d01148a9e5457a705fac06a65f14dac8d9e53af /tests/nix_path.sh | |
parent | e928c72cf9f8d1963df86b3a4a1da0b2a14380ec (diff) |
Revert "getDefaultNixPath: actually respect `{restrict,pure}-eval`"
This reverts commit 1cba5984a68a489c4a56691032e4c87991c678f4.
Diffstat (limited to 'tests/nix_path.sh')
-rw-r--r-- | tests/nix_path.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/nix_path.sh b/tests/nix_path.sh index d16fb4bb2..2b222b4a1 100644 --- a/tests/nix_path.sh +++ b/tests/nix_path.sh @@ -12,8 +12,3 @@ nix-instantiate --eval -E '<by-relative-path/simple.nix>' --restrict-eval [[ $(nix-instantiate --find-file by-absolute-path/simple.nix) = $PWD/simple.nix ]] [[ $(nix-instantiate --find-file by-relative-path/simple.nix) = $PWD/simple.nix ]] - -unset NIX_PATH - -[[ $(nix-instantiate --option nix-path by-relative-path=. --find-file by-relative-path/simple.nix) = "$PWD/simple.nix" ]] -[[ $(NIX_PATH= nix-instantiate --option nix-path by-relative-path=. --find-file by-relative-path/simple.nix) = "$PWD/simple.nix" ]] |