nix run: Restore signals

Otherwise Ctrl-C doesn't work.
This commit is contained in:
Eelco Dolstra 2017-09-28 17:58:59 +02:00
parent 5421ad243e
commit f3e0d46821
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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