diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-20 23:41:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-20 23:41:28 +0200 |
commit | a85060efec5766280d19219112db6f7fdd2fb32a (patch) | |
tree | 60c697debecb461d65e6ac807436cc5fe298c871 /guix/build/download.scm | |
parent | e3f6f8b4480636bcf49cf075d6a7fb4bdf8c3b84 (diff) | |
download | gnu-guix-a85060efec5766280d19219112db6f7fdd2fb32a.tar gnu-guix-a85060efec5766280d19219112db6f7fdd2fb32a.tar.gz |
substitute-binary: Report progress while downloading.
* guix/scripts/substitute-binary.scm (decompressed-port): Improve docstring.
(progress-report-port): New procedure.
(guix-substitute-binary)["--substitute"]: Use it to report progress.
* guix/build/download.scm: Export `progress-proc' and `uri-abbreviation'.
Diffstat (limited to 'guix/build/download.scm')
-rw-r--r-- | guix/build/download.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm index 53e6b2363c..dcce0bfc89 100644 --- a/guix/build/download.scm +++ b/guix/build/download.scm @@ -28,7 +28,9 @@ #:use-module (srfi srfi-26) #:use-module (ice-9 match) #:use-module (ice-9 format) - #:export (url-fetch)) + #:export (url-fetch + progress-proc + uri-abbreviation)) ;;; Commentary: ;;; |