summary refs log tree commit diff
path: root/bootstrap
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-28 10:11:43 +0100
committerLudovic Courtès <ludo@gnu.org>2015-10-28 12:04:03 +0100
commit55b2fc18772a512a2227757423e55dc6c7523113 (patch)
treec7b6919e49385a60b470203196a7cb9cca8075e5 /bootstrap
parenta89dde1ed89a53f33556ab12ec73bafe495a796c (diff)
downloadguix-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 'bootstrap')
0 files changed, 0 insertions, 0 deletions