~ruther/guix-local

0d8831370f5cd1bb8bf24e5f511c915592cc482c — Ludovic Courtès 11 years ago c046815
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'.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/download.scm
M guix/download.scm => guix/download.scm +3 -0
@@ 271,6 271,9 @@ in the store."
                                        (guix build utils)
                                        (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.
                            ;;#:local-build? #t
                            ;; FIXME: The above would also disable use of