From 6c9e59dd65fe97f48ed6ea451afd23bb29e6bdff Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 16 Sep 2020 21:21:13 +0100 Subject: Change the buffering configuration before imports Because some of the module inputs write output. --- scripts/guix-build-coordinator.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/guix-build-coordinator.in b/scripts/guix-build-coordinator.in index 1c4f673..346f289 100644 --- a/scripts/guix-build-coordinator.in +++ b/scripts/guix-build-coordinator.in @@ -22,6 +22,9 @@ ;;; along with the guix-data-service. If not, see ;;; . +(setvbuf (current-output-port) 'line) +(setvbuf (current-error-port) 'line) + (use-modules (srfi srfi-1) (srfi srfi-37) (ice-9 match) @@ -216,9 +219,6 @@ (alist-delete 'arguments result))) defaults)) -(setvbuf (current-output-port) 'line) -(setvbuf (current-error-port) 'line) - (match (cdr (program-arguments)) (("build" "show" rest ...) (let ((opts (parse-options %base-options -- cgit v1.2.3