mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
substitute: Close the progress port after substitute finished.
Fixes <https://bugs.gnu.org/28756>. * guix/scripts/substitute.scm (progress-substitution): Call '(close-port progress)'.
This commit is contained in:
parent
c6643f2d52
commit
abaee53c80
1 changed files with 1 additions and 0 deletions
|
@ -962,6 +962,7 @@ (define* (process-substitution store-item destination
|
||||||
;; Unpack the Nar at INPUT into DESTINATION.
|
;; Unpack the Nar at INPUT into DESTINATION.
|
||||||
(restore-file input destination)
|
(restore-file input destination)
|
||||||
(close-port input)
|
(close-port input)
|
||||||
|
(close-port progress)
|
||||||
|
|
||||||
;; Skip a line after what 'progress-reporter/file' printed, and another
|
;; Skip a line after what 'progress-reporter/file' printed, and another
|
||||||
;; one to visually separate substitutions.
|
;; one to visually separate substitutions.
|
||||||
|
|
Loading…
Reference in a new issue