diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-28 10:11:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-28 12:04:03 +0100 |
commit | 55b2fc18772a512a2227757423e55dc6c7523113 (patch) | |
tree | c7b6919e49385a60b470203196a7cb9cca8075e5 /gnu | |
parent | a89dde1ed89a53f33556ab12ec73bafe495a796c (diff) | |
download | patches-55b2fc18772a512a2227757423e55dc6c7523113.tar patches-55b2fc18772a512a2227757423e55dc6c7523113.tar.gz |
substitute: Honor all the specified server URLs.
* guix/scripts/substitute.scm (lookup-narinfos/diverse): New procedure.
(lookup-narinfo): Use it.
(process-query): Change #:cache-url to #:cache-urls.
[valid?]: Remove 'narinfo?' check, which is no longer necessary.
Use 'lookup-narinfos/diverse' instead of 'lookup-narinfos'.
(process-substitution): Change #:cache-url to #:cache-urls.
(%cache-url): Rename to...
(%cache-urls): ... this. Turn into a list.
(guix-substitute): Remove 'getaddrinfo' test with early exit. Adjust
calls to 'process-query' and 'process-substitution'.
* tests/substitute.scm: Change '%cache-url' to '%cache-urls'.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions