1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00

:quit in the debugger should quit the whole program

This commit is contained in:
Rebecca Turner 2024-02-02 18:53:49 -08:00
parent 78e7c98b02
commit 2a8fe9a938
No known key found for this signature in database
10 changed files with 111 additions and 44 deletions

View file

@ -28,13 +28,13 @@ struct AbstractNixRepl
const SearchPath & searchPath, nix::ref<Store> store, ref<EvalState> state,
std::function<AnnotatedValues()> getValues);
static void runSimple(
static ReplExitStatus runSimple(
ref<EvalState> evalState,
const ValMap & extraEnv);
virtual void initEnv() = 0;
virtual void mainLoop() = 0;
virtual ReplExitStatus mainLoop() = 0;
};
}