diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-30 22:13:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-01 00:06:17 +0200 |
commit | d17551d9438c6fe5c9bc3674e39345f15dc0c0ac (patch) | |
tree | 227da47b85a7ba467b460538d1b1ecc6c610df82 /gnu.scm | |
parent | cfaf863f15fca75b6c2cc81ae61d8c54ecd7cf28 (diff) | |
download | guix-d17551d9438c6fe5c9bc3674e39345f15dc0c0ac.tar guix-d17551d9438c6fe5c9bc3674e39345f15dc0c0ac.tar.gz |
download: Simplify 'open-connection-for-uri' to support HTTP proxies.
Partly fixes <http://bugs.gnu.org/20402>.
Reported by Joshua Randall <jcrandall@alum.mit.edu>.
* guix/build/download.scm (open-connection-for-uri): Rewrite to be a
small wrapper around 'open-socket-for-uri'. This procedure was
initially introduced in d14ecda to work around the lack of NSS modules
during bootstrap but that has become unnecessary since 0621349, which
introduced a bootstrap Guile that uses static NSS modules (from commit
d3b5972.)
On Guile >= 2.0.10, this allows the 'http_proxy' environment variable
to be used.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions