mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
nix run: Restore signals
Otherwise Ctrl-C doesn't work.
This commit is contained in:
parent
5421ad243e
commit
f3e0d46821
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user