mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05: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 @@ (define installer-builder
|
|||
(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 @@ (define installer-builder
|
|||
(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