summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-15 16:01:52 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-15 16:01:52 +0100
commitc1c94acf3206a086358e2ea39aa011c8299d29e5 (patch)
tree2471f0c7a2888808481d96cbce58e5af7602a466
parent74baf333bf591cf3c91447d912d200783472d913 (diff)
downloadguix-c1c94acf3206a086358e2ea39aa011c8299d29e5.tar.gz
build-system/gnu: Make the error port line-buffered.
* guix/build/gnu-build-system.scm (gnu-build): Make the error port
  line-buffered.
-rw-r--r--guix/build/gnu-build-system.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index efee570292..3b139a99b8 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -242,6 +242,7 @@
   "Build from SOURCE to OUTPUTS, using INPUTS, and by running all of PHASES
 in order.  Return #t if all the PHASES succeeded, #f otherwise."
   (setvbuf (current-output-port) _IOLBF)
+  (setvbuf (current-error-port) _IOLBF)
 
   ;; The trick is to #:allow-other-keys everywhere, so that each procedure in
   ;; PHASES can pick the keyword arguments it's interested in.