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:
parent
c04681554d
commit
0d8831370f
|
@ -271,6 +271,9 @@ in the store."
|
||||||
(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
|
||||||
|
|
Loading…
Reference in New Issue