Subject: bug#35542: Installer does not display full backtrace on error

From: Mathieu Othacehe <[email-masked]>
Date: Sat, 04 May 2019 18:15:54 +0200

And the patch ...

Sorry,

Mathieu
>From 3348df0c72e9bcdf31b63155d9c6bdbaee515524 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <[email-masked]>
Date: Sat, 4 May 2019 18:10:40 +0200
Subject: [PATCH] installer: Increase backtrace verbosity.

* gnu/installer.scm (installer-program): Set COLUMNS env variable to 200 to
make guile backtraces more verbose.
---
 gnu/installer.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/installer.scm b/gnu/installer.scm
index fe2841397e..435cad507d 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -400,5 +400,9 @@ selected keymap."
        ;; some reason, unicode support is not correctly installed
        ;; when calling this in 'installer-builder'.
        (setenv "LANG" "en_US.UTF-8")
+       ;; Initialize 'terminal-width' in (system repl debug)
+       ;; to a large-enough value to make backtrace more
+       ;; verbose.
+       (setenv "COLUMNS" "200")
        (execl #$(program-file "installer-real" installer-builder)
               "installer-real"))))
-- 
2.17.1