guix download does not understand https

DoneSubmitted by Andreas Enge.
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Severity
normal
A
A
Andreas Enge wrote on 31 Aug 2013 13:43
(address . bug-guix@gnu.org)
20130831114336.GA25379@debian
The title says it all:
guix download https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2
results in
ERROR: missing interface for module (gnutls)failed to download "guix-file.Oty9Cl" from "https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2"guix download: error: https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2:download failed
(under guile 2.0.5-deb+1-3).
Since guix build -S works on the same file, something needs probably to beported from guix build to guix download.
Andreas
L
L
Ludovic Courtès wrote on 31 Aug 2013 18:03
(name . Andreas Enge)(address . andreas@enge.fr)
87bo4du9su.fsf@gnu.org
tag 15229 notabugthanks
Andreas Enge <andreas@enge.fr> skribis:
Toggle quote (8 lines)> The title says it all:>> guix download https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2>> results in>> ERROR: missing interface for module (gnutls)
Quoting the manual (info "(guix) Invoking guix download"):
The ‘guix download’ command supports the same URIs as used in package definitions. In particular, it supports ‘mirror://’ URIs. ‘https’ URIs (HTTP over TLS) are supported _provided_ the Guile bindings for GnuTLS are available in the user’s environment; when they are not available, an error is raised.
:-)
Running ‘guix package -i gnutls’ and setting GUILE_LOAD_PATH assuggested should enable GnuTLS support in ‘guix download’.
Let me know if there’s any problem.
HTH,Ludo’.
Closed
L
L
Ludovic Courtès wrote on 31 Aug 2013 18:04
(name . Andreas Enge)(address . andreas@enge.fr)(address . 15229@debbugs.gnu.org)
877gf1u9qz.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:
Toggle quote (2 lines)> Since guix build -S works on the same file,
This is because ‘guix build -S’ builds a derivation that uses our ownGuile and GnuTLS to perform the download.
Ludo’.
?
Your comment

This issue is archived.

To comment on this conversation send email to 15229@debbugs.gnu.org