diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-26 13:56:22 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-26 14:19:36 +0200 |
commit | 9529f7850e3ae91cce70620e684fc6d0dc25e815 (patch) | |
tree | c965c7e8a5f3bb41343114528be90c1c6c207ecc /nix/libstore/builtins.hh | |
parent | 6c849cdb988d403fec11ace82704535723de9e66 (diff) | |
download | guix-9529f7850e3ae91cce70620e684fc6d0dc25e815.tar.gz guix-9529f7850e3ae91cce70620e684fc6d0dc25e815.zip |
installer: Take 'guix system init' exit code into account.
This allows the installer to distinguish success from failure, and also
ensures the shell that runs 'guix system init' exits upon completion.
* gnu/installer/utils.scm (run-shell-command)[pause]: New procedure.
Add "exec" before COMMAND in the script. Guard 'invoke' call and handle
'invoke-error?'. Add call to 'pause' on completion.
* gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
Diffstat (limited to 'nix/libstore/builtins.hh')
0 files changed, 0 insertions, 0 deletions