diff options
-rw-r--r-- | guix/packages.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index 0966b4a9de..d260a48767 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -1055,6 +1055,11 @@ specifies modules in scope when evaluating SNIPPET." '("--no-recursion" "--files-from=.file_list")))) + (let ((line (cond-expand (guile-2.0 _IOLBF) + (else 'line)))) + (setvbuf (current-output-port) line) + (setvbuf (current-error-port) line)) + ;; Encoding/decoding errors shouldn't be silent. (fluid-set! %default-port-conversion-strategy 'error) |