aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-path-slash.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-path-slash.nix')
-rw-r--r--test/testdata/eval-fail-path-slash.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-path-slash.nix b/test/testdata/eval-fail-path-slash.nix
new file mode 100644
index 0000000..8c2e104
--- /dev/null
+++ b/test/testdata/eval-fail-path-slash.nix
@@ -0,0 +1,6 @@
1# Trailing slashes in paths are not allowed.
2# This restriction could be lifted sometime,
3# for example if we make '/' a path concatenation operator.
4# See https://github.com/NixOS/nix/issues/1138
5# and https://nixos.org/nix-dev/2016-June/020829.html
6/nix/store/