[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/63: download: Pass the raw file name to content-addressed mirrors.
From: |
Mark H. Weaver |
Subject: |
54/63: download: Pass the raw file name to content-addressed mirrors. |
Date: |
Thu, 4 Aug 2016 07:44:58 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit 38f1cf8a8e9c479f72d49bc126d317f5608c28fe
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 31 18:25:18 2016 +0200
download: Pass the raw file name to content-addressed mirrors.
* guix/build/download.scm (url-fetch)[content-addressed-uris]: Call
'strip-store-file-name' on FILE before passing it to 'make-url'.
---
guix/build/download.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/download.scm b/guix/build/download.scm
index 307258b..4259f52 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -737,7 +737,8 @@ or #f."
(append-map (lambda (make-url)
(filter-map (match-lambda
((hash-algo . hash)
- (string->uri (make-url file hash-algo hash))))
+ (let ((file (strip-store-file-name file)))
+ (string->uri (make-url file hash-algo
hash)))))
hashes))
content-addressed-mirrors))
- 52/63: gnu: fastcap: Add input ghostscript., (continued)
- 52/63: gnu: fastcap: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 58/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 48/63: gnu: dealii: Update to 8.4.1., Mark H. Weaver, 2016/08/04
- 26/63: gnu: r-genomicalignments: Update to 1.8.4., Mark H. Weaver, 2016/08/04
- 29/63: gnu: r-biocparallel: Update to 1.6.3., Mark H. Weaver, 2016/08/04
- 30/63: gnu: r-annotationdbi: Update to 1.34.4., Mark H. Weaver, 2016/08/04
- 32/63: gnu: r-xvector: Update to 0.12.1., Mark H. Weaver, 2016/08/04
- 22/63: gnu: r-s4vectors: Update to 0.10.2., Mark H. Weaver, 2016/08/04
- 42/63: tests: base: Correct invalid merge., Mark H. Weaver, 2016/08/04
- 36/63: gnu: vlc: Drop -ffast-math from the compilation flags., Mark H. Weaver, 2016/08/04
- 54/63: download: Pass the raw file name to content-addressed mirrors.,
Mark H. Weaver <=
- 51/63: gnu: zsh: Update to 5.2., Mark H. Weaver, 2016/08/04
- 38/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 04/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 27/63: gnu: r-summarizedexperiment: Update to 1.2.3., Mark H. Weaver, 2016/08/04
- 10/63: Merge remote-tracking branch 'origin/master' into core-updates, Mark H. Weaver, 2016/08/04
- 25/63: gnu: r-rtracklayer: Update to 1.32.2., Mark H. Weaver, 2016/08/04
- 34/63: gnu: r-iranges: Update to 2.6.1., Mark H. Weaver, 2016/08/04
- 33/63: gnu: r-limma: Update to 3.28.17., Mark H. Weaver, 2016/08/04
- 47/63: gnu: wine: Update to 1.9.15., Mark H. Weaver, 2016/08/04
- 55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror., Mark H. Weaver, 2016/08/04