summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-16 23:28:10 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-16 23:29:11 +0200
commitb8571d68c4f2c0b4b0b8f3d7c7ef09668aab140f (patch)
tree26b94b88e4a6102d9375a268e11a02dcc00e324f /tests
parenta737f51fd96be2866a33eb67732e034bcc65a659 (diff)
downloadguix-b8571d68c4f2c0b4b0b8f3d7c7ef09668aab140f.tar.gz
Add a regression test for correct path antiquotation behavior
This broke in Nix 1.6.
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-fail-antiquoted-path.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-antiquoted-path.nix b/tests/lang/eval-fail-antiquoted-path.nix
new file mode 100644
index 0000000000..f2f08107b5
--- /dev/null
+++ b/tests/lang/eval-fail-antiquoted-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"