Leo Famulari <l...@famulari.name> skribis: > On Wed, Mar 01, 2017 at 03:36:11AM +0100, Marius Bakke wrote: >> Subject: [PATCH] pull: Default to HTTPS. >> >> * guix/build/download.scm (tls-wrap): Add CERTIFICATE-DIRECTORY parameter. >> (open-connection-for-uri): Adjust parameters to match. >> (http-fetch): Likewise. >> (url-fetch): Likewise. >> * guix/download.scm (download-to-store): Likewise. >> * guix/scripts/pull.scm (%snapshot-url): Use HTTPS. >> (guix-pull): Verify against the store path of NSS-CERTS. > > When I don't have GnuTLS in my environment, it fails like this: > > Starting download of /tmp/guix-file.pSCYyI > From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz... > ;;; Failed to autoload make-session in (gnutls): > ;;; ERROR: missing interface for module (gnutls) > ERROR: In procedure module-lookup: Unbound variable: make-session > failed to download "/tmp/guix-file.pSCYyI" from > "https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz" > guix pull: error: failed to download up-to-date source, exiting
What about making GnuTLS a hard requirement for Guix? Ludo’.