From 7ddef73d026d79adc0c4f3fd1518d88d1331c38c Mon Sep 17 00:00:00 2001 From: Ben Burdette Date: Thu, 19 May 2022 12:44:40 -0600 Subject: de-const evalState exceptions --- src/libcmd/repl.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libcmd/repl.cc') diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 5b17f2fb2..5aecf3ac3 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -96,6 +96,7 @@ std::string removeWhitespace(std::string s) } +// NixRepl::NixRepl(ref state) NixRepl::NixRepl(ref state) : state(state) , debugTraceIndex(0) @@ -1012,7 +1013,8 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m } void runRepl( - EvalState& evalState, + ref evalState, + // EvalState& evalState, const ValMap & extraEnv) { auto repl = std::make_unique(evalState); -- cgit v1.2.3