aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-06-27 14:21:22 -0400
committerGraham Christensen <graham@grahamc.com>2019-07-02 08:41:53 -0400
commit17d3ec3405eb114f89dc42d065afa887161f6149 (patch)
tree733c08fd098e457488895ca8dc0a5383ad5256ea /src/libstore/gc.cc
parent324a5dc92f8e50e6b637c5e67dea48c80be10837 (diff)
checkStoreName: give more precise/verbose error information
$ sudo ./inst/bin/nix-instantiate -E '"${./.git}"' error: The path name '.git' is invalid: it is illegal to start the name with a period. Path names are alphanumeric and can include the symbols +-._?= and must not begin with a period. Note: If '.git' is a source file and you cannot rename it on disk, builtins.path { name = ... } can be used to give it an alternative name.
Diffstat (limited to 'src/libstore/gc.cc')
0 files changed, 0 insertions, 0 deletions