From f02da621edb5b567edf98507eef7335b2232b7ca Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 28 Oct 2022 16:25:47 +0200 Subject: [PATCH] builtins.trace: Decode virtual paths --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 32855a755..aaac98aab 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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);