aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-05-14 09:52:13 +0100
committerChristopher Baines <mail@cbaines.net>2021-05-14 09:52:13 +0100
commit132a94246f80e17922f2e6d5b584324a09cb0bf8 (patch)
tree11b0e871144ecd532e250d22c121bf1adebe71f2
parent4711fc6145e0ffccf42c294a9a4583fc7d8aa005 (diff)
downloadbuild-coordinator-132a94246f80e17922f2e6d5b584324a09cb0bf8.tar
build-coordinator-132a94246f80e17922f2e6d5b584324a09cb0bf8.tar.gz
Line buffer the queue builds script output
So that the output is more consistent.
-rw-r--r--scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in
index ebb0a01..0adb64c 100644
--- a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in
+++ b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.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-11)
(srfi srfi-37)