From 992d99592f1022593e4df276e39e8f4f65822f74 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 8 Mar 2024 09:19:15 +0100 Subject: `:quit` in the debugger should quit the whole program (cherry picked from commit 2a8fe9a93837733e9dd9ed5c078734a35b203e14) Change-Id: I71dadfef6b24d9272b206e9e2c408040559d8a1c --- src/libmain/shared.hh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/libmain/shared.hh') diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 9415be78a..2b15d3368 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -6,6 +6,7 @@ #include "common-args.hh" #include "path.hh" #include "derived-path.hh" +#include "exit.hh" #include @@ -14,15 +15,6 @@ namespace nix { -class Exit : public std::exception -{ -public: - int status; - Exit() : status(0) { } - Exit(int status) : status(status) { } - virtual ~Exit(); -}; - int handleExceptions(const std::string & programName, std::function fun); /** -- cgit v1.2.3