aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2016-06-24 15:30:19 +0200
committerGuillaume Maudoux <layus.on@gmail.com>2016-11-27 17:48:46 +0100
commite4b82af38711126bb2a531451a28b062937a5a81 (patch)
tree2ca61eab017ccfb8d3dc18d75568931b71b63553 /tests
parent7ee43df8622cc0589d54248fb44cebe1c1d991d2 (diff)
Improve error message on trailing path slashes
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-fail-path-slash.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-path-slash.nix b/tests/lang/eval-fail-path-slash.nix
new file mode 100644
index 000000000..530105b32
--- /dev/null
+++ b/tests/lang/eval-fail-path-slash.nix
@@ -0,0 +1,6 @@
+# Trailing slashes in paths are not allowed.
+# This restriction could be lifted sometime,
+# for example if we make '/' a path concatenation operator.
+# See https://github.com/NixOS/nix/issues/1138
+# and http://lists.science.uu.nl/pipermail/nix-dev/2016-June/020829.html
+/nix/store/