build-system/gnu: Make the error port line-buffered.

* guix/build/gnu-build-system.scm (gnu-build): Make the error port
  line-buffered.
This commit is contained in:
Ludovic Courtès 2012-12-15 16:01:52 +01:00
parent 74baf333bf
commit c1c94acf32
1 changed files with 1 additions and 0 deletions

View File

@ -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.