diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-15 12:05:34 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-15 12:05:34 -0600 |
commit | 6faa56ea1f7f8b708e8c931f41b627541a023c79 (patch) | |
tree | 0e736b53affbf4498ed700c69e6ea8ea3a670ad3 /src | |
parent | 2acdb90438f315e145f97218b1b34f75b40ebc70 (diff) |
remove extra argument
Diffstat (limited to 'src')
-rw-r--r-- | src/libcmd/command.cc | 2 | ||||
-rw-r--r-- | src/libcmd/command.hh | 1 | ||||
-rw-r--r-- | src/libcmd/repl.cc | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index 12cd5ed83..bf97a3de8 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -138,7 +138,7 @@ ref<EvalState> EvalCommand::getEvalState() if (expr.staticEnv) { auto vm = mapStaticEnvBindings(evalState->symbols, *expr.staticEnv.get(), env); - runRepl(evalState, expr, *vm); + runRepl(evalState, *vm); } }; } diff --git a/src/libcmd/command.hh b/src/libcmd/command.hh index 454197b1c..196bd3aaa 100644 --- a/src/libcmd/command.hh +++ b/src/libcmd/command.hh @@ -275,7 +275,6 @@ void printClosureDiff( void runRepl( ref<EvalState> evalState, - const Expr & expr, const ValMap & extraEnv); } diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 8f0b1bfc0..deac3d408 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -1012,7 +1012,6 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m void runRepl( ref<EvalState> evalState, - const Expr &expr, const ValMap & extraEnv) { auto repl = std::make_unique<NixRepl>(evalState); |