1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 14:53:16 +02:00

Fix addErrorContext

This commit is contained in:
Eelco Dolstra 2023-02-21 15:41:57 +01:00
parent 5d1e5a09d1
commit c8f7ca2c7b

View file

@ -795,7 +795,7 @@ static void prim_addErrorContext(EvalState & state, const PosIdx pos, Value * *
PathSet context; PathSet context;
e.addTrace(nullptr, state.decodePaths(*state.coerceToString(pos, *args[0], context, e.addTrace(nullptr, state.decodePaths(*state.coerceToString(pos, *args[0], context,
"while evaluating the error message passed to 'builtins.addErrorContext'", "while evaluating the error message passed to 'builtins.addErrorContext'",
false, false))); false, false)), true);
throw; throw;
} }
} }