mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
Fix path display
This commit is contained in:
parent
7edacb6248
commit
c73a7584fb
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ struct FSInputAccessorImpl : FSInputAccessor
|
|||
, allowedPaths(std::move(allowedPaths))
|
||||
, makeNotAllowedError(std::move(makeNotAllowedError))
|
||||
{
|
||||
displayPrefix = root.abs();
|
||||
displayPrefix = root.isRoot() ? "" : root.abs();
|
||||
}
|
||||
|
||||
std::string readFile(const CanonPath & path) override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue