From 67c2db17bc29e483dbaffbee246c910a617744c6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 5 Sep 2019 17:05:08 +0200 Subject: download: Pass 'http_proxy' et al. to git, hg, etc. This allows 'git-fetch' etc. origins to honor the proxy and locale of the daemon. * guix/bzr-download.scm (bzr-fetch): Pass #:leaked-env-vars to 'gexp->derivation'. * guix/cvs-download.scm (cvs-fetch): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/hg-download.scm (hg-fetch): Likewise. * guix/svn-download.scm (svn-multi-fetch): Likewise. --- guix/git-download.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guix/git-download.scm') diff --git a/guix/git-download.scm b/guix/git-download.scm index c62bb8ad0f..1eae035fc4 100644 --- a/guix/git-download.scm +++ b/guix/git-download.scm @@ -157,6 +157,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." ("git commit" . ,(git-reference-commit ref)) ("git recursive?" . ,(object->string (git-reference-recursive? ref)))) + #:leaked-env-vars '("http_proxy" "https_proxy" + "LC_ALL" "LC_MESSAGES" "LANG" + "COLUMNS") #:system system #:local-build? #t ;don't offload repo cloning -- cgit v1.2.3