aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-05-31 15:28:07 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-02 18:47:07 +0200
commit36a9d3f10da3811c66c3e379e20381728c368a3b (patch)
tree38cf81753eaf52c0e159a4016da6c119a90a196b
parentdcfc6f213b287778b5dc6ea4a8d34f5e1368752b (diff)
downloadguix-36a9d3f10da3811c66c3e379e20381728c368a3b.tar.gz
guix-36a9d3f10da3811c66c3e379e20381728c368a3b.zip
substitute: Do not display the installed size.
* guix/scripts/substitute.scm (process-substitution): Do not show the installed size in the "Downloading" message.
-rwxr-xr-xguix/scripts/substitute.scm10
1 files changed, 1 insertions, 9 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 4ee15ba67d..71f30030b6 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -874,15 +874,7 @@ DESTINATION as a nar file. Verify the substitute against ACL."
(format #t "~a~%" (narinfo-hash narinfo))
(format (current-error-port)
- ;; TRANSLATORS: The second part of this message looks like
- ;; "(4.1MiB installed)"; it shows the size of the package once
- ;; installed.
- (G_ "Downloading ~a~:[~*~; (~a installed)~]...~%")
- (uri->string uri)
- ;; Use the Nar size as an estimate of the installed size.
- (narinfo-size narinfo)
- (and=> (narinfo-size narinfo)
- (cute byte-count->string <>)))
+ (G_ "Downloading ~a...~%") (uri->string uri))
(let*-values (((raw download-size)
;; Note that Hydra currently generates Nars on the fly
;; and doesn't specify a Content-Length, so