mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
nix repl: Print accessors in paths
This commit is contained in:
parent
71b155b9e6
commit
55a10576c1
1 changed files with 1 additions and 1 deletions
|
@ -908,7 +908,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case nPath:
|
case nPath:
|
||||||
str << ANSI_GREEN << v.path().path << ANSI_NORMAL; // !!! escaping?
|
str << ANSI_GREEN << v.path().to_string() << ANSI_NORMAL; // !!! escaping?
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case nNull:
|
case nNull:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue