3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

installer: Increase backtrace verbosity.

* gnu/installer.scm (installer-program): Set terminal-width to 200 to
make guile backtraces more verbose.
This commit is contained in:
Mathieu Othacehe 2019-05-14 14:05:36 +02:00
parent ba2d913192
commit 3114786e3e
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -337,6 +337,8 @@ selected keymap."
(gnu services herd)
(guix i18n)
(guix build utils)
((system repl debug)
#:select (terminal-width))
(ice-9 match))
;; Initialize gettext support so that installers can use
@ -360,6 +362,11 @@ selected keymap."
(bindtextdomain "xkeyboard-config"
#+(file-append xkeyboard-config "/share/locale"))
;; Initialize 'terminal-width' in (system repl debug)
;; to a large-enough value to make backtrace more
;; verbose.
(terminal-width 200)
(let* ((current-installer newt-installer)
(steps (#$steps current-installer)))
((installer-init current-installer))