mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
http: Add informative output.
* guix/build/http.scm (http-fetch): Emit message indicating the download.
This commit is contained in:
parent
e722af7522
commit
cfeb75954a
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ (define addresses
|
|||
(define (http-fetch url file)
|
||||
"Fetch data from URL and write it to FILE. Return FILE on success."
|
||||
|
||||
(setvbuf (current-output-port) _IOLBF)
|
||||
(format #t "starting HTTP download of `~a' from `~a'...~%" file url)
|
||||
|
||||
;; FIXME: Use a variant of `http-get' that returns a port instead of
|
||||
;; loading everything in memory.
|
||||
(let*-values (((uri)
|
||||
|
|
Loading…
Reference in a new issue