~ruther/guix-local

cfeb75954a0fcf51acc2d33599e01e153a3570db — Ludovic Courtès 13 years ago e722af7
http: Add informative output.

* guix/build/http.scm (http-fetch): Emit message indicating the
  download.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/build/http.scm
M guix/build/http.scm => guix/build/http.scm +3 -0
@@ 77,6 77,9 @@ which is not available during bootstrap."
(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)