aboutsummaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/download.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm
index 54115a9de2..5d881b93ee 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -307,7 +307,10 @@ on success."
uri)
#f)))
- (setvbuf (current-output-port) _IOLBF)
+ ;; Make this unbuffered so 'progress-proc' works as expected. _IOLBF means
+ ;; '\n', not '\r', so it's not appropriate here.
+ (setvbuf (current-output-port) _IONBF)
+
(setvbuf (current-error-port) _IOLBF)
(let try ((uri uri))