aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 586ed29a59..2f01d39d1a 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -333,16 +333,15 @@ selected keymap."
#:steps steps))
(const #f)
(lambda (key . args)
- ((installer-exit-error current-installer) key args)
-
- ;; Be sure to call newt-finish, to restore the terminal into
- ;; its original state before printing the error report.
- (call-with-output-file "/tmp/error"
- (lambda (port)
- (display-backtrace (make-stack #t) port)
- (print-exception port
- (stack-ref (make-stack #t) 1)
- key args)))
+ (let ((error-file "/tmp/last-installer-error"))
+ (call-with-output-file error-file
+ (lambda (port)
+ (display-backtrace (make-stack #t) port)
+ (print-exception port
+ (stack-ref (make-stack #t) 1)
+ key args)))
+ ((installer-exit-error current-installer)
+ error-file key args))
(primitive-exit 1)))
((installer-exit current-installer)))))))
texi?id=f54149062e769a493207033514401d4f3890bded'>doc: cookbook: Balance parens in custom kernel examples....Ludovic Courtès 2020-10-15doc: cookbook: Clarify what keywords are....Ludovic Courtès 2020-10-15doc: Add "Build Utilities" section....Ludovic Courtès 2020-10-15doc: cookbook: Use @code for the identifiers of utility functions....Ludovic Courtès 2020-10-15doc: cookbook: More "#true" and "#false"....Ludovic Courtès 2020-10-15doc: cookbook: Use @var for meta-syntactic variables....Ludovic Courtès 2020-10-15doc: cookbook: Fix 'let' form in example....Ludovic Courtès 2020-10-14services: nginx: Add lua module....Oleg Pykhalov 2020-10-14doc: cookbook: Mention "#true" and "#false"....Ludovic Courtès 2020-09-09doc: cookbook: Adding a section "Running Guix on a Linode Server"...Joshua Branson 2020-08-23doc: cookbook: Add chapter about Guix environment....Oleg Pykhalov 2020-07-09doc: cookbook: Fix ‘file system’ spelling....Tobias Geerinckx-Rice 2020-06-28doc: cookbook: Fix encoding of "André"....Ludovic Courtès 2020-06-28doc: cookbook: Update entry about getting substitutes through Tor....André Batista 2020-06-23doc: cookbook: Fix typos....Ludovic Courtès 2020-06-23doc: cookbook: Tweak intro to the REPL....Ludovic Courtès 2020-06-23doc: cookbook: Mention "guix hash -rx" for Git checkouts....Ludovic Courtès 2020-06-23doc: cookbook: Clarify 'git-fetch' conventions....Ludovic Courtès 2020-06-04doc: cookbook: Add entry about getting substitutes through Tor....Brice Waegeneire 2020-06-02doc: cookbook: Add entry about Wireguard VPN....Marcin Karpezo 2020-05-25doc: cookbook: Add subsection about session locking with xss-lock....Chris Bøg 2020-05-05doc: cookbook: Fix sbcl-ttf-fonts package name....Jean-Baptiste Note 2020-04-30doc: cookbook: Rename stumpwm package to current state....Marcin Karpezo 2020-04-25doc: cookbook: Fix quotes....Nicolas Goaziou 2020-04-24doc: cookbook: Use @file for file names and extensions....Nicolas Goaziou 2020-04-24doc: cookbook: Fix misuses of double spacing....Nicolas Goaziou 2020-04-22doc: cookbook: Explain how to use bind mounts....Matthew Brooks 2020-03-30gnu: Add sbcl-stumpwm-ttf-fonts....Oleg Pykhalov