From 0d8831370f5cd1bb8bf24e5f511c915592cc482c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 30 Apr 2015 23:54:06 +0200 Subject: [PATCH] download: Honor the 'http_proxy' and 'https_proxy' env. vars. Fixes . Reported by Joshua Randall . * guix/download.scm (url-fetch): Pass #:leaked-env-vars to 'gexp->derivation'. --- guix/download.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/download.scm b/guix/download.scm index 3e4024fe1f..6b0349402a 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -271,6 +271,9 @@ (define builder (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