mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
substitute: Close the download port after substitution finished.
* guix/scripts/substitute.scm (progress-substitution): Call 'close-port' after 'restore-file'.
This commit is contained in:
parent
d82937fbe0
commit
4220514b8f
1 changed files with 1 additions and 0 deletions
|
@ -959,6 +959,7 @@ (define* (process-substitution store-item destination
|
|||
progress)))
|
||||
;; Unpack the Nar at INPUT into DESTINATION.
|
||||
(restore-file input destination)
|
||||
(close-port input)
|
||||
|
||||
;; Skip a line after what 'progress-proc' printed, and another one to
|
||||
;; visually separate substitutions.
|
||||
|
|
Loading…
Reference in a new issue