~ruther/guix-local

4f7b564adbc09267fa61ee93292e2fc8a470f9cd — Ludovic Courtès 10 years ago b78cad8
download: Remove spurious warning about 'https_proxy'.

* guix/build/download.scm (open-connection-for-uri)[with-https-proxy]: Warn
  about 'https_proxy' only when 'getenv' returns a non-empty string.
1 files changed, 2 insertions(+), 1 deletions(-)

M guix/build/download.scm
M guix/build/download.scm => guix/build/download.scm +2 -1
@@ 231,7 231,8 @@ host name without trailing dot."
                               (resolve-interface '(web client))
                               'current-http-proxy))
                         (parameterize ((current-http-proxy #f))
                           (when (getenv "https_proxy")
                           (when (and=> (getenv "https_proxy")
                                        (negate string-null?))
                             (format (current-error-port)
                                     "warning: 'https_proxy' is ignored~%"))
                           (thunk))