aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/repl.hh')
-rw-r--r--src/libcmd/repl.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcmd/repl.hh b/src/libcmd/repl.hh
index 6d88883fe..21aa8bfc7 100644
--- a/src/libcmd/repl.hh
+++ b/src/libcmd/repl.hh
@@ -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;
};
}