bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: bug#35542: Installer does not display full backtrace on error
Date: Wed, 08 May 2019 16:35:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Mathieu,

Mathieu Othacehe <address@hidden> skribis:

> +       ;; Initialize 'terminal-width' in (system repl debug)
> +       ;; to a large-enough value to make backtrace more
> +       ;; verbose.
> +       (setenv "COLUMNS" "200")

What about instead doing something like this:

  (use-modules ((system repl debug) #:select (terminal-width)))

  (with-fluids ((terminal-width 200))
    …)

?

That would ensure we’re only changing Guile’s notion of the terminal
width and not interfering with other tools we might launch as child
processes.

Thoughts?

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]