mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Add a regression test for correct path antiquotation behavior
This broke in Nix 1.6.
This commit is contained in:
parent
a737f51fd9
commit
b8571d68c4
1 changed files with 4 additions and 0 deletions
4
tests/lang/eval-fail-antiquoted-path.nix
Normal file
4
tests/lang/eval-fail-antiquoted-path.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
# This must fail to evaluate, since ./fnord doesn't exist. If it did
|
||||
# exist, it would produce "/nix/store/<hash>-fnord/xyzzy" (with an
|
||||
# appropriate context).
|
||||
"${./fnord}/xyzzy"
|
Loading…
Reference in a new issue