1
0
Fork 0
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:
Eelco Dolstra 2022-10-28 16:25:47 +02:00
parent a653e98f55
commit f02da621ed

View file

@ -970,7 +970,7 @@ static void prim_trace(EvalState & state, const PosIdx pos, Value * * args, Valu
{
state.forceValue(*args[0], pos);
if (args[0]->type() == nString)
printError("trace: %1%", args[0]->string.s);
printError("trace: %1%", state.decodePaths(args[0]->string.s));
else
printError("trace: %1%", printValue(state, *args[0]));
state.forceValue(*args[1], pos);