mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
printEnvPosChain
This commit is contained in:
parent
310c689d31
commit
176911102c
11 changed files with 32193 additions and 4 deletions
|
@ -109,6 +109,7 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
if (startReplOnEvalErrors)
|
||||
debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error & error, const Env & env) {
|
||||
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error.what());
|
||||
// printEnvPosChain(env);
|
||||
printEnvBindings(env);
|
||||
auto vm = mapEnvBindings(env);
|
||||
runRepl(evalState, *vm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue