From f3e0d468218994343d0e595a50304cc122ad1406 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Sep 2017 17:58:59 +0200 Subject: nix run: Restore signals Otherwise Ctrl-C doesn't work. --- src/nix/run.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nix') diff --git a/src/nix/run.cc b/src/nix/run.cc index c72ede99c1c2..2f93ca351502 100644 --- a/src/nix/run.cc +++ b/src/nix/run.cc @@ -130,6 +130,8 @@ struct CmdRun : InstallablesCommand stopProgressBar(); + restoreSignals(); + /* If this is a diverted store (i.e. its "logical" location (typically /nix/store) differs from its "physical" location (e.g. /home/eelco/nix/store), then run the command in a -- cgit 1.4.1