nix repl: Run in impure mode

This commit is contained in:
Eelco Dolstra 2019-09-02 23:04:27 +02:00
parent aeb695c007
commit 2dbd69dbf4

View file

@ -778,6 +778,7 @@ struct CmdRepl : StoreCommand, MixEvalArgs
void run(ref<Store> store) override void run(ref<Store> store) override
{ {
evalSettings.pureEval = false;
auto repl = std::make_unique<NixRepl>(searchPath, openStore()); auto repl = std::make_unique<NixRepl>(searchPath, openStore());
repl->autoArgs = getAutoArgs(repl->state); repl->autoArgs = getAutoArgs(repl->state);
repl->mainLoop(files); repl->mainLoop(files);