summaryrefslogtreecommitdiff
path: root/guix/self.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-01 18:36:28 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-01 18:41:45 +0200
commit54be2b4d759c9e40c5b564726f882470bbac4387 (patch)
treee77e736cb4a3a0ab4128bff53c79211bf55e0499 /guix/self.scm
parent6d52844cd4c376b7b344b448de8a2c7a3d252afb (diff)
self: Show backtraces on more columns.
* guix/self.scm (compiled-modules): Add "COLUMNS" to #:env-vars.
Diffstat (limited to 'guix/self.scm')
-rw-r--r--guix/self.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/self.scm b/guix/self.scm
index 9ff949075d..3503fbda43 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")))))
;;;