diff options
author | Christopher Baines <mail@cbaines.net> | 2020-09-16 21:21:13 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-09-16 21:21:13 +0100 |
commit | 6c9e59dd65fe97f48ed6ea451afd23bb29e6bdff (patch) | |
tree | cf96c2b5c4971914b84102948189b5a4029dc54f | |
parent | fadb1cf50eb51cf8c9e06bbcc12f8583cfe0cc07 (diff) | |
download | build-coordinator-6c9e59dd65fe97f48ed6ea451afd23bb29e6bdff.tar build-coordinator-6c9e59dd65fe97f48ed6ea451afd23bb29e6bdff.tar.gz |
Change the buffering configuration before imports
Because some of the module inputs write output.
-rw-r--r-- | scripts/guix-build-coordinator.in | 6 |
1 files 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 ;;; <http://www.gnu.org/licenses/>. +(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 |