[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: download: Honor the 'http_proxy' and 'https_proxy' env. vars.

From: Ludovic Courtès
Subject: 03/04: download: Honor the 'http_proxy' and 'https_proxy' env. vars.
Date: Thu, 30 Apr 2015 22:06:26 +0000

civodul pushed a commit to branch master
in repository guix.

commit 0d8831370f5cd1bb8bf24e5f511c915592cc482c
Author: Ludovic Courtès <address@hidden>
Date:   Thu Apr 30 23:54:06 2015 +0200

    download: Honor the 'http_proxy' and 'https_proxy' env. vars.
    Fixes <>.
    Reported by Joshua Randall <address@hidden>.
    * guix/download.scm (url-fetch): Pass #:leaked-env-vars to
 guix/download.scm |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/guix/download.scm b/guix/download.scm
index 3e4024f..6b03494 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -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 
                             ;;#:local-build? #t
                             ;; FIXME: The above would also disable use of

reply via email to

[Prev in Thread] Current Thread [Next in Thread]