guix-commits
[Top][All Lists]
Advanced

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

02/02: self: Show backtraces on more columns.


From: Ludovic Courtès
Subject: 02/02: self: Show backtraces on more columns.
Date: Fri, 1 Jun 2018 12:41:51 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 54be2b4d759c9e40c5b564726f882470bbac4387
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jun 1 18:36:28 2018 +0200

    self: Show backtraces on more columns.
    
    * guix/self.scm (compiled-modules): Add "COLUMNS" to #:env-vars.
---
 guix/self.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/guix/self.scm b/guix/self.scm
index 9ff9490..3503fbd 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -588,7 +588,11 @@ list of file-name/file-like objects suitable as inputs to 
'imported-files'."
                  `(#:local-build? #f              ;allow substitutes
 
                    ;; Don't annoy people about _IONBF deprecation.
-                   #:env-vars (("GUILE_WARN_DEPRECATED" . "no")))))
+                   ;; Initialize 'terminal-width' in (system repl debug)
+                   ;; to a large-enough value to make backtrace more
+                   ;; verbose.
+                   #:env-vars (("GUILE_WARN_DEPRECATED" . "no")
+                               ("COLUMNS" . "200")))))
 
 
 ;;;



reply via email to

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