1
0
Fork 0
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:
Ben Burdette 2022-05-25 10:21:20 -06:00
parent 91b7d5373a
commit b4c24a29c6
4 changed files with 82 additions and 83 deletions

View file

@ -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);
}
}