diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-04-30 23:54:06 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-01 00:06:18 +0200 |
| commit | 0d8831370f5cd1bb8bf24e5f511c915592cc482c (patch) | |
| tree | 52a9188868793cba9d14907301e331973c6710b7 | |
| parent | c04681554da812f4ce1bed87c601cd62c663d151 (diff) | |
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'.
| -rw-r--r-- | guix/download.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/download.scm b/guix/download.scm index 3e4024fe1f0..6b0349402a5 100644 --- a/guix/download.scm +++ b/guix/download.scm | |||
| @@ -271,6 +271,9 @@ in the store." | |||
| 271 | (guix build utils) | 271 | (guix build utils) |
| 272 | (guix ftp-client)) | 272 | (guix ftp-client)) |
| 273 | 273 | ||
| 274 | ;; Honor the user's proxy settings. | ||
| 275 | #:leaked-env-vars '("http_proxy" "https_proxy") | ||
| 276 | |||
| 274 | ;; In general, offloading downloads is not a good idea. | 277 | ;; In general, offloading downloads is not a good idea. |
| 275 | ;;#:local-build? #t | 278 | ;;#:local-build? #t |
| 276 | ;; FIXME: The above would also disable use of | 279 | ;; FIXME: The above would also disable use of |
