guix-commits
[Top][All Lists]
Advanced

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

01/05: Replace debug-set! with setenv COLUMNS


From: Christopher Baines
Subject: 01/05: Replace debug-set! with setenv COLUMNS
Date: Sun, 27 Sep 2020 06:11:25 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit fb180e1ebd3662ff712f7c888c5f0bb7973d0c43
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Sep 26 16:42:18 2020 +0100

    Replace debug-set! with setenv COLUMNS
    
    As that actually seems to work.
---
 scripts/guix-data-service-process-job.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/guix-data-service-process-job.in 
b/scripts/guix-data-service-process-job.in
index 0aec7be..3572cdb 100644
--- a/scripts/guix-data-service-process-job.in
+++ b/scripts/guix-data-service-process-job.in
@@ -33,7 +33,8 @@
 
 (setlocale LC_ALL "en_US.UTF-8")
 
-(debug-set! width 256)
+;; Make stack traces more useful
+(setenv "COLUMNS" "256")
 
 (match (command-line)
   ((name job)



reply via email to

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