summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-07-20 17:00:50 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-20 17:02:35 +0200
commitab84b927efa44cd3e81568db4c775f6ab7e3c344 (patch)
tree53734b1b2269d86a0ba3d5d4656251c46359e4a5 /guix/build
parentff6638d112d794c9c433731643711932452fd2ff (diff)
download: Prepare to support the 'guix publish' /file URLs.
* guix/download.scm (%content-addressed-mirrors): Add 'file' parameter to the lambda. * guix/build/download.scm (url-fetch)[content-addressed-uris]: Adjust accordingly.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/download.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm
index 103e784bb1..307258be92 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -737,7 +737,7 @@ or #f."
(append-map (lambda (make-url)
(filter-map (match-lambda
((hash-algo . hash)
- (string->uri (make-url hash-algo hash))))
+ (string->uri (make-url file hash-algo hash))))
hashes))
content-addressed-mirrors))