aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/guix.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-22 14:21:19 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-23 15:40:10 +0100
commitbdaaa6b3e454d9e91c6d9384763e8c53d5e12fe2 (patch)
tree608e9d75f736e2aae4f330a1665c0470a036e6d8 /gnu/services/guix.scm
parentced9da901f7e58fced9a822e8cdf44e394bc4d2f (diff)
downloadguix-bdaaa6b3e454d9e91c6d9384763e8c53d5e12fe2.tar
guix-bdaaa6b3e454d9e91c6d9384763e8c53d5e12fe2.tar.gz
services: guix-build-coordinator: Configure output buffering.
Otherwise the logging is garbled. * gnu/services/guix.scm (make-guix-build-coordinator-start-script): Configure line output buffering for stdout and stderr.
Diffstat (limited to 'gnu/services/guix.scm')
-rw-r--r--gnu/services/guix.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index ac2a03147c..4afe02792f 100644
--- a/gnu/services/guix.scm
+++ b/gnu/services/guix.scm
@@ -200,6 +200,9 @@
(guix-build-coordinator build-allocator)
(guix-build-coordinator coordinator))
+ (setvbuf (current-output-port) 'line)
+ (setvbuf (current-error-port) 'line)
+
(simple-format #t "starting the guix-build-coordinator:\n ~A\n"
(current-filename))
(let* ((metrics-registry (make-metrics-registry