remove extra argument

This commit is contained in:
Ben Burdette 2022-05-15 12:05:34 -06:00
parent 2acdb90438
commit 6faa56ea1f
3 changed files with 1 additions and 3 deletions

View file

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

View file

@ -275,7 +275,6 @@ void printClosureDiff(
void runRepl(
ref<EvalState> evalState,
const Expr & expr,
const ValMap & extraEnv);
}

View file

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