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:
parent
ba2d913192
commit
3114786e3e
1 changed files with 7 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue