mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue