diff options
Diffstat (limited to 'guix/build')
-rw-r--r-- | guix/build/download.scm | 5 |
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)) |