From cfeb75954a0fcf51acc2d33599e01e153a3570db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Fri, 9 Nov 2012 00:21:18 +0100
Subject: [PATCH] http: Add informative output.

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

diff --git a/guix/build/http.scm b/guix/build/http.scm
index a0fc4528442..65c09fa4cd7 100644
--- a/guix/build/http.scm
+++ b/guix/build/http.scm
@@ -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)
-- 
GitLab