nix repl: Print accessors in paths

This commit is contained in:
Eelco Dolstra 2022-08-03 16:36:20 +02:00
parent 71b155b9e6
commit 55a10576c1

View file

@ -908,7 +908,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
break;
case nPath:
str << ANSI_GREEN << v.path().path << ANSI_NORMAL; // !!! escaping?
str << ANSI_GREEN << v.path().to_string() << ANSI_NORMAL; // !!! escaping?
break;
case nNull: