[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: installer: Increase backtrace verbosity.
From: |
guix-commits |
Subject: |
01/01: installer: Increase backtrace verbosity. |
Date: |
Wed, 15 May 2019 03:29:03 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 3114786e3ed1cadf993d9ae87baa2a0a96a2c36c
Author: Mathieu Othacehe <address@hidden>
Date: Tue May 14 14:05:36 2019 +0200
installer: Increase backtrace verbosity.
* gnu/installer.scm (installer-program): Set terminal-width to 200 to
make guile backtraces more verbose.
---
gnu/installer.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/installer.scm b/gnu/installer.scm
index ea7bd1c..1452c4d 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -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))