download: Honor the 'http_proxy' and 'https_proxy' env. vars.

Fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.

* guix/download.scm (url-fetch): Pass #:leaked-env-vars to
  'gexp->derivation'.
This commit is contained in:
Ludovic Courtès 2015-04-30 23:54:06 +02:00
parent c04681554d
commit 0d8831370f

View file

@ -271,6 +271,9 @@ (define builder
(guix build utils) (guix build utils)
(guix ftp-client)) (guix ftp-client))
;; Honor the user's proxy settings.
#:leaked-env-vars '("http_proxy" "https_proxy")
;; In general, offloading downloads is not a good idea. ;; In general, offloading downloads is not a good idea.
;;#:local-build? #t ;;#:local-build? #t
;; FIXME: The above would also disable use of ;; FIXME: The above would also disable use of