Skip to content
Snippets Groups Projects
Commit d17551d9 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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 d14ecda9 to work around the lack of NSS modules
  during bootstrap but that has become unnecessary since 06213498, which
  introduced a bootstrap Guile that uses static NSS modules (from commit
  d3b59727.)
  On Guile >= 2.0.10, this allows the 'http_proxy' environment variable
  to be used.
parent cfaf863f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment