aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-02 23:04:27 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-09-02 23:04:27 +0200
commit2dbd69dbf4538d5b7947d192979ff4feab322c2e (patch)
tree8a6f18cd74be4db727e105c40c659ab32b9b38c7 /src/nix
parentaeb695c0074b52772057b36f442a054f8d1a856d (diff)
nix repl: Run in impure mode
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/repl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc
index 3a70a23c7..0fa1594cc 100644
--- a/src/nix/repl.cc
+++ b/src/nix/repl.cc
@@ -778,6 +778,7 @@ struct CmdRepl : StoreCommand, MixEvalArgs
void run(ref<Store> store) override
{
+ evalSettings.pureEval = false;
auto repl = std::make_unique<NixRepl>(searchPath, openStore());
repl->autoArgs = getAutoArgs(repl->state);
repl->mainLoop(files);