aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-05-16 09:20:51 -0600
committerBen Burdette <bburdette@protonmail.com>2022-05-16 09:20:51 -0600
commit667074b5867ffe40e3f1c59bd8e4ebf259f86aaa (patch)
tree6ae4400c5496b74532dd3b1b0fd72a40f6f5e97f /src/libcmd/repl.cc
parent86ba0a702c63b4a8ff79a07f9303318feb330642 (diff)
first whack at passing evalState as an arg to debuggerHook.
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index deac3d408..cb5d5bb34 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -1011,7 +1011,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
}
void runRepl(
- ref<EvalState> evalState,
+ EvalState& evalState,
const ValMap & extraEnv)
{
auto repl = std::make_unique<NixRepl>(evalState);