diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-25 10:21:20 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-25 10:21:20 -0600 |
commit | b4c24a29c62259a068c8270be62cf5a412e1e35c (patch) | |
tree | 1936c16ab6f3a36e86cb3d9f2f46886647a0c932 /src/libexpr/eval.cc | |
parent | 91b7d5373acdc5d9b3f2c13d16b9850ab5fc9e9d (diff) |
back to ref<EvalState> in NixRepl
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 6dc7918b1..18baf1cb7 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -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); } } |