aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/command.hh')
-rw-r--r--src/libcmd/command.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcmd/command.hh b/src/libcmd/command.hh
index 07f398468..0d847d255 100644
--- a/src/libcmd/command.hh
+++ b/src/libcmd/command.hh
@@ -45,6 +45,8 @@ private:
struct EvalCommand : virtual StoreCommand, MixEvalArgs
{
+ bool startReplOnEvalErrors = false;
+
EvalCommand();
~EvalCommand();
@@ -310,4 +312,8 @@ void printClosureDiff(
const StorePath & afterPath,
std::string_view indent);
+void runRepl(
+ ref<EvalState> evalState,
+ const std::map<std::string, Value *> & extraEnv);
+
}