HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c046815
)
download: Honor the 'http_proxy' and 'https_proxy' env. vars.
author
Ludovic Courtès
<ludo@gnu.org>
Thu, 30 Apr 2015 21:54:06 +0000
(23:54 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Thu, 30 Apr 2015 22:06:18 +0000
(
00:06
+0200)
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'.
guix/download.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/download.scm
b/guix/download.scm
index
3e4024f
..
6b03494
100644
(file)
--- 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 idea.
;;#:local-build? #t
;; FIXME: The above would also disable use of