mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
packages: Output and error ports are line-buffered in ‘patch-and-repack’.
* guix/packages.scm (patch-and-repack): Add ‘setvbuf’ calls. Change-Id: I039bb6407263d5172bf0bc716bda6860dc2615fb
This commit is contained in:
parent
949ee85019
commit
b089f95f14
1 changed files with 5 additions and 0 deletions
|
@ -1055,6 +1055,11 @@ (define (repack directory output)
|
|||
'("--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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue