mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Improve error message on trailing path slashes
This commit is contained in:
parent
7ee43df862
commit
e4b82af387
2 changed files with 18 additions and 4 deletions
6
tests/lang/eval-fail-path-slash.nix
Normal file
6
tests/lang/eval-fail-path-slash.nix
Normal file
|
@ -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/
|
Loading…
Add table
Add a link
Reference in a new issue