mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
builtins.trace: Decode virtual paths
This commit is contained in:
parent
a653e98f55
commit
f02da621ed
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ static void prim_trace(EvalState & state, const PosIdx pos, Value * * args, Valu
|
||||||
{
|
{
|
||||||
state.forceValue(*args[0], pos);
|
state.forceValue(*args[0], pos);
|
||||||
if (args[0]->type() == nString)
|
if (args[0]->type() == nString)
|
||||||
printError("trace: %1%", args[0]->string.s);
|
printError("trace: %1%", state.decodePaths(args[0]->string.s));
|
||||||
else
|
else
|
||||||
printError("trace: %1%", printValue(state, *args[0]));
|
printError("trace: %1%", printValue(state, *args[0]));
|
||||||
state.forceValue(*args[1], pos);
|
state.forceValue(*args[1], pos);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue