aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2022-06-15 09:17:03 -0400
committerTom Bereknyei <tomberek@gmail.com>2022-06-15 09:17:03 -0400
commit51268ceb793a025252918b384155f750b387ccd9 (patch)
tree53d85ef3504c6e65351da4a5b490b1bc3af50073 /src/libcmd/repl.cc
parentdae4a8a6c8d8dfde3292d3e9e05977bc13648bda (diff)
parent63df0fda94b60719fd1db13fa42422d0835561ad (diff)
Merge branch 'master' into nix-repl-flakes
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index e173610de..28b05fc2c 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -1066,6 +1066,11 @@ struct CmdRepl : InstallablesCommand
return file.has_value() or expr.has_value();
}
+ bool forceImpureByDefault() override
+ {
+ return true;
+ }
+
std::string description() override
{
return "start an interactive environment for evaluating Nix expressions";