diff options
Diffstat (limited to 'src/libcmd/command.hh')
-rw-r--r-- | src/libcmd/command.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libcmd/command.hh b/src/libcmd/command.hh index 0f6125f11..94ad80210 100644 --- a/src/libcmd/command.hh +++ b/src/libcmd/command.hh @@ -57,6 +57,8 @@ struct CopyCommand : virtual StoreCommand struct EvalCommand : virtual StoreCommand, MixEvalArgs { + bool startReplOnEvalErrors = false; + EvalCommand(); ~EvalCommand(); @@ -269,4 +271,10 @@ void printClosureDiff( const StorePath & afterPath, std::string_view indent); + +void runRepl( + ref<EvalState> evalState, + const Error *debugError, + const Expr &expr, + const std::map<std::string, Value *> & extraEnv); } |