mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
back to ref<EvalState> in NixRepl
This commit is contained in:
parent
91b7d5373a
commit
b4c24a29c6
4 changed files with 82 additions and 83 deletions
|
@ -836,7 +836,7 @@ void EvalState::runDebugRepl(const Error * error, const Env & env, const Expr &
|
|||
auto se = getStaticEnv(expr);
|
||||
if (se) {
|
||||
auto vm = mapStaticEnvBindings(symbols, *se.get(), env);
|
||||
(debugRepl)(*this, *vm);
|
||||
(debugRepl)(ref<EvalState>(shared_from_this()), *vm);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue