From e4b82af38711126bb2a531451a28b062937a5a81 Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Fri, 24 Jun 2016 15:30:19 +0200 Subject: Improve error message on trailing path slashes --- tests/lang/eval-fail-path-slash.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/lang/eval-fail-path-slash.nix (limited to 'tests') diff --git a/tests/lang/eval-fail-path-slash.nix b/tests/lang/eval-fail-path-slash.nix new file mode 100644 index 0000000000..530105b321 --- /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/ -- cgit 1.4.1