all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* HTTPS support in (guix download)
@ 2013-01-20 22:18 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2013-01-20 22:18 UTC (permalink / raw)
  To: bug-guix

Hello,

As suggested by Andreas, the (guix download) module now supports
downloads over HTTPS.  For that, it uses the Guile bindings in GnuTLS.

Currently, GnuTLS is only pulled in the build environment for the
download when passed an https URL.  So there’s still the limitation
that, if you pass an http URL, which gets redirected to https, you’ll
get a “missing interface for module (gnutls)” error.  If it’s an problem
in practice, we can add a ‘url-fetch’ parameter to force GnuTLS to be
pulled in when it’s needed (we can’t always have GnuTLS around, because
we don’t want to build it during bootstrap, or maybe we couldn’t.)

In theory, ‘guix-download’ can also work with https URLs.  In practice,
‘guix-download’ uses the “host” Guile (not the one in the chroot), so it
will only work if you have a working GnuTLS in $GUILE_LOAD_PATH.

Comments welcome!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-20 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-20 22:18 HTTPS support in (guix download) Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.