remove extra argument
This commit is contained in:
parent
2acdb90438
commit
6faa56ea1f
|
@ -138,7 +138,7 @@ ref<EvalState> EvalCommand::getEvalState()
|
||||||
|
|
||||||
if (expr.staticEnv) {
|
if (expr.staticEnv) {
|
||||||
auto vm = mapStaticEnvBindings(evalState->symbols, *expr.staticEnv.get(), env);
|
auto vm = mapStaticEnvBindings(evalState->symbols, *expr.staticEnv.get(), env);
|
||||||
runRepl(evalState, expr, *vm);
|
runRepl(evalState, *vm);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -275,7 +275,6 @@ void printClosureDiff(
|
||||||
|
|
||||||
void runRepl(
|
void runRepl(
|
||||||
ref<EvalState> evalState,
|
ref<EvalState> evalState,
|
||||||
const Expr & expr,
|
|
||||||
const ValMap & extraEnv);
|
const ValMap & extraEnv);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1012,7 +1012,6 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
|
||||||
|
|
||||||
void runRepl(
|
void runRepl(
|
||||||
ref<EvalState> evalState,
|
ref<EvalState> evalState,
|
||||||
const Expr &expr,
|
|
||||||
const ValMap & extraEnv)
|
const ValMap & extraEnv)
|
||||||
{
|
{
|
||||||
auto repl = std::make_unique<NixRepl>(evalState);
|
auto repl = std::make_unique<NixRepl>(evalState);
|
||||||
|
|
Loading…
Reference in a new issue