aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-nonexist-path.nix
diff options
context:
space:
mode:
authorTaeer Bar-Yam <taeer@bar-yam.me>2021-08-06 07:38:52 -0400
committerTaeer Bar-Yam <taeer@bar-yam.me>2021-08-06 07:38:52 -0400
commita6bfda7d956f88f5e38c0848b9dfd8ea0108f26b (patch)
treebc95c82d81f32042760c1949c558840493eeacb0 /tests/lang/eval-fail-nonexist-path.nix
parent624162c72973b2ff63ee4e840c4f20af1e490039 (diff)
path antiquotations: rename confusing test
Diffstat (limited to 'tests/lang/eval-fail-nonexist-path.nix')
-rw-r--r--tests/lang/eval-fail-nonexist-path.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-nonexist-path.nix b/tests/lang/eval-fail-nonexist-path.nix
new file mode 100644
index 000000000..f2f08107b
--- /dev/null
+++ b/tests/lang/eval-fail-nonexist-path.nix
@@ -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"