diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-14 17:37:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-14 17:37:47 +0200 |
commit | cd436bf05a8344acf4462f3602e7d360821a902a (patch) | |
tree | 0a3f473f4e2c4f9a6fb007637cf2d340ebe55370 /gnu/packages | |
parent | c22a475725b99463de6e163a212c9398116c8aa0 (diff) | |
download | patches-cd436bf05a8344acf4462f3602e7d360821a902a.tar patches-cd436bf05a8344acf4462f3602e7d360821a902a.tar.gz |
download: Support content-addressed mirrors.
* guix/download.scm (%content-addressed-mirrors)
(%content-addressed-mirror-file): New variables.
* guix/download.scm (url-fetch)[builder]: Define
'value-from-environment. Pass #:hashes and
#:content-addressed-mirrors to 'url-fetch'.
Define "guix download hashes" environment variable.
* guix/build/download.scm (url-fetch): Add #:content-addressed-mirrors
and #:hashes.
[content-addressed-urls]: New variable.
Use it.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions