mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
remove more debug code
This commit is contained in:
parent
cbc2f0fe31
commit
e54f17eb46
7 changed files with 9 additions and 128 deletions
|
@ -67,7 +67,6 @@ extern std::function<void(const Error & error, const Env & env, const Expr & exp
|
|||
|
||||
ref<EvalState> EvalCommand::getEvalState()
|
||||
{
|
||||
std::cout << "EvalCommand::getEvalState()" << startReplOnEvalErrors << std::endl;
|
||||
if (!evalState) {
|
||||
evalState = std::make_shared<EvalState>(searchPath, getStore());
|
||||
if (startReplOnEvalErrors)
|
||||
|
@ -80,7 +79,7 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
expr.show(std::cout);
|
||||
std::cout << std::endl;
|
||||
|
||||
if (expr.staticenv)
|
||||
if (expr.staticenv)
|
||||
{
|
||||
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
|
||||
runRepl(evalState, *vm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue