diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 22:52:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 22:52:41 +0200 |
commit | db030303b820297da23f8ce7101be88427eeef8d (patch) | |
tree | 471ad5271d7c026ebf5b698947a43c6d2df2e7c6 /gnu/packages/gtk.scm | |
parent | 5f1087c48144e15d9e37d23b559017f9d7e326cd (diff) |
guix system: Add '--on-error'.
* guix/ui.scm (load*): Add #:on-error parameter.
[tag, error-string]: New variables.
Wrap 'load' call in 'call-with-prompt'. Pass TAG to 'make-stack'. Honor
ON-ERROR after 'report-load-error' call.
(report-load-error): Change to not exit on error. Make private.
* guix/scripts/system.scm (show-help, %options): Add --on-error.
(guix-system): Use 'load*' and pass it #:on-error.
Diffstat (limited to 'gnu/packages/gtk.scm')
0 files changed, 0 insertions, 0 deletions