diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-17 23:41:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-18 00:39:50 +0100 |
commit | 4fd06a4dd1d4a894b96e586cef594270f8bbb88f (patch) | |
tree | fe9ed8b141d4606e4153e0a476bfb8694b64869d /guix/build | |
parent | 36626c556ed75219bce196ac93d148f6b9af984c (diff) |
http-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.
* guix/build/download.scm (open-connection-for-uri): Add note about
same-named binding in Guile 2.2.0.
* guix/http-client.scm: Use 'guix:open-connection-for-uri' for the
procedure coming from (guix build download).
* guix/scripts/lint.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
Diffstat (limited to 'guix/build')
-rw-r--r-- | guix/build/download.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build/download.scm b/guix/build/download.scm index d956a9f33e..36c815c167 100644 --- a/guix/build/download.scm +++ b/guix/build/download.scm @@ -464,6 +464,9 @@ ETIMEDOUT error is raised." "Like 'open-socket-for-uri', but also handle HTTPS connections. The resulting port must be closed with 'close-connection'. When VERIFY-CERTIFICATE? is true, verify HTTPS server certificates." + ;; Note: Guile 2.2.0's (web client) has a same-named export that's actually + ;; undefined. See Guile commit 011669af3b428e5626f7bbf66b11d57d9768c047. + (define https? (eq? 'https (uri-scheme uri))) |