mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
add DebugTrace for the current error
This commit is contained in:
parent
6801a423fc
commit
9760fa8661
5 changed files with 30 additions and 19 deletions
|
|
@ -84,7 +84,7 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
if (expr.staticenv)
|
||||
{
|
||||
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
|
||||
runRepl(evalState, &error, *vm);
|
||||
runRepl(evalState, &error, expr, *vm);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue