Re: Problems with downloading from https

2014-10-31 Thread Andreas Enge
On Thu, Oct 30, 2014 at 03:31:15PM +0300, Alex Kost wrote: > I think the latter is a bug. IMHO it shouldn't be possible to install > several packages with the same name in one profile. Well, having python 2 and 3 is reasonable, and from what I saw in their naming scheme, it is entirely possible (

Re: Problems with downloading from https

2014-10-31 Thread Ludovic Courtès
Alex Kost skribis: > I think such an "evil" case is just not handled currently. If you have > python-3… installed and you install python-2… in the same profile, then > python-3… would be replaced, but if you install both packages in the > same command, then both would be installed. Oh, really?

Re: Problems with downloading from https

2014-10-31 Thread Alex Kost
Andreas Enge (2014-10-30 10:49 +0300) wrote: > On Thu, Oct 30, 2014 at 10:27:59AM +0300, Alex Kost wrote: >> I think such an "evil" case is just not handled currently. If you have >> python-3… installed and you install python-2… in the same profile, then >> python-3… would be replaced, but if you

Re: Problems with downloading from https

2014-10-31 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Mark H Weaver skribis: [...] >> The reason is that guix/download.scm contains this code: >> >> ;; Add GnuTLS to the inputs and to the load path. >> #~(eval-when (load expand eval) >> (set! %load-path >>

Re: Problems with downloading from https

2014-10-31 Thread Ian Denhardt
Quoting Alex Kost (2014-10-30 15:08:08) > This is what you currently have: you can install both, and "python" would > be a link to "python2". > > But installing 2 packages with the same name is not intended (to prevent > file names collision), so I think it would be better to rename one of the > p

Re: Problems with downloading from https

2014-10-31 Thread Ian Denhardt
Quoting Alex Kost (2014-10-30 03:27:59) > As both python packages can co-exist in one profile, either python-2… > may be renamed into “python2” or python-3… into “python3”. As python3 > is the future, I think it would be better to have “python2” and “python” > (which is python3) packages. Or mayb

Re: Problems with downloading from https

2014-10-31 Thread Alex Kost
Ian Denhardt (2014-10-30 20:05 +0300) wrote: > Quoting Alex Kost (2014-10-30 03:27:59) >> As both python packages can co-exist in one profile, either python-2… >> may be renamed into “python2” or python-3… into “python3”. As python3 >> is the future, I think it would be better to have “python2” a

Re: Problems with downloading from https

2014-10-31 Thread Alex Kost
Andreas Enge (2014-10-30 15:38 +0300) wrote: > On Thu, Oct 30, 2014 at 03:31:15PM +0300, Alex Kost wrote: >> I think the latter is a bug. IMHO it shouldn't be possible to install >> several packages with the same name in one profile. > > Well, having python 2 and 3 is reasonable, and from what I

Re: Problems with downloading from https

2014-10-30 Thread Andreas Enge
On Thu, Oct 30, 2014 at 10:27:59AM +0300, Alex Kost wrote: > I think such an "evil" case is just not handled currently. If you have > python-3… installed and you install python-2… in the same profile, then > python-3… would be replaced, but if you install both packages in the > same command, then

Re: Problems with downloading from https

2014-10-30 Thread Alex Kost
Andreas Enge (2014-10-30 01:22 +0300) wrote: > On Tue, Oct 28, 2014 at 09:03:44AM +0100, Ludovic Courtès wrote: >> Alex Kost skribis: >> > But currently it's not possible to install 2 (or more) packages with the >> > same name. So a user can't have guile 2.0 and guile 1.8 in the same >> > profil

Re: Problems with downloading from https

2014-10-29 Thread Andreas Enge
On Tue, Oct 28, 2014 at 09:03:44AM +0100, Ludovic Courtès wrote: > Alex Kost skribis: > > But currently it's not possible to install 2 (or more) packages with the > > same name. So a user can't have guile 2.0 and guile 1.8 in the same > > profile. The same thing with python: there is no ‘python2

Re: Problems with downloading from https

2014-10-28 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-27 19:24 +0300) wrote: > >> Mark H Weaver skribis: >> >>> Alex Kost writes: >>> Why not just allow gnutls and other packages to install guile modules in a site dir (without version) and to augment GUILE_LOAD_PATH with it as I suggeste

Re: Problems with downloading from https

2014-10-27 Thread Alex Kost
Ludovic Courtès (2014-10-27 19:24 +0300) wrote: > Mark H Weaver skribis: > >> Alex Kost writes: >> >>> Why not just allow gnutls and other packages to install guile modules in >>> a site dir (without version) and to augment GUILE_LOAD_PATH with it as I >>> suggested at >>>

Re: Problems with downloading from https

2014-10-27 Thread Ludovic Courtès
Mark H Weaver skribis: > Alex Kost writes: > >> Why not just allow gnutls and other packages to install guile modules in >> a site dir (without version) and to augment GUILE_LOAD_PATH with it as I >> suggested at >> ? > > In my

Re: Problems with downloading from https

2014-10-27 Thread Mark H Weaver
Alex Kost writes: > Why not just allow gnutls and other packages to install guile modules in > a site dir (without version) and to augment GUILE_LOAD_PATH with it as I > suggested at > ? In my opinion, this is the right fix. Th

Re: Problems with downloading from https

2014-10-27 Thread Mark H Weaver
Alex Kost writes: > Mark H Weaver (2014-10-27 12:06 +0300) wrote: > >> l...@gnu.org (Ludovic Courtès) writes: >> >>> Alex Kost skribis: >>> Ludovic Courtès (2014-10-26 16:46 +0300) wrote: > Alex Kost skribis: > >> Yes, I installed gnutls, but it didn't work because I didn'

Re: Problems with downloading from https

2014-10-27 Thread Alex Kost
Ludovic Courtès (2014-10-27 15:24 +0300) wrote: > Mark H Weaver skribis: > >> l...@gnu.org (Ludovic Courtès) writes: >> >>> Alex Kost skribis: >>> Ludovic Courtès (2014-10-26 16:46 +0300) wrote: > Alex Kost skribis: > >> Yes, I installed gnutls, but it didn't work because

Re: Problems with downloading from https

2014-10-27 Thread Alex Kost
Mark H Weaver (2014-10-27 12:06 +0300) wrote: > l...@gnu.org (Ludovic Courtès) writes: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2014-10-26 16:46 +0300) wrote: >>> Alex Kost skribis: > Yes, I installed gnutls, but it didn't work because I didn't set the > right guile path

Re: Problems with downloading from https

2014-10-27 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Currently, there are a couple of packages that hard-code site/2.0. They > should be changed to use: > > (string-append "--with-site-dir=.../site/" (effective-version)) Actually this won’t work because the Guile that runs the build script is not necessa

Re: Problems with downloading from https

2014-10-27 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2014-10-26 16:46 +0300) wrote: >>> Alex Kost skribis: > Yes, I installed gnutls, but it didn't work because I didn't set the > right guile paths: “guix package --sea

Re: [PATCH 0/1] Re: Problems with downloading from https

2014-10-27 Thread Ian Denhardt
Ping. Haven't heard anything about this. Quoting Ian Denhardt (2014-10-26 01:30:05) > Quoting Ludovic Courtès (Sat, 25 Oct 2014 23:53:25 +0200) > > The problem is that the GnuTLS Guile bindings must be installed for > > ‘guix download’ to work with HTTPS (the manual suggests it, but perhaps > > no

Re: Problems with downloading from https

2014-10-27 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Alex Kost skribis: > >> Ludovic Courtès (2014-10-26 16:46 +0300) wrote: >> >>> Alex Kost skribis: >>> Yes, I installed gnutls, but it didn't work because I didn't set the right guile paths: “guix package --search-paths” recommends "/usr/loc

Re: Problems with downloading from https

2014-10-26 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-10-26 16:46 +0300) wrote: > >> Alex Kost skribis: >> >>> Yes, I installed gnutls, but it didn't work because I didn't set the >>> right guile paths: “guix package --search-paths” recommends >>> "/usr/local/var/guix/profiles/per-user//guix-profile/share/

Re: Problems with downloading from https

2014-10-26 Thread Alex Kost
Ludovic Courtès (2014-10-26 16:46 +0300) wrote: > Alex Kost skribis: > >> Yes, I installed gnutls, but it didn't work because I didn't set the >> right guile paths: “guix package --search-paths” recommends >> "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile/site/2.0" >> but "gnutl

Re: Problems with downloading from https

2014-10-26 Thread Ludovic Courtès
Alex Kost skribis: > Yes, I installed gnutls, but it didn't work because I didn't set the > right guile paths: “guix package --search-paths” recommends > "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile/site/2.0" > but "gnutls.scm" is actually placed in > "/usr/local/var/guix/prof

Re: Problems with downloading from https

2014-10-26 Thread Alex Kost
Ian Denhardt (2014-10-26 00:02 +0400) wrote: > Quoting Alex Kost (2014-10-25 13:30:26) >> Hello, I noticed >> and decided to ask about a similar problem I have. >> >> Whenever I try to download anything from https, I get an error, for >> example

[PATCH 0/1] Re: Problems with downloading from https

2014-10-25 Thread Ian Denhardt
Quoting Ludovic Courtès (Sat, 25 Oct 2014 23:53:25 +0200) > The problem is that the GnuTLS Guile bindings must be installed for > ‘guix download’ to work with HTTPS (the manual suggests it, but perhaps > not clearly enough?) The README is probably a better place. Here's a patch. > So just install

Re: Problems with downloading from https

2014-10-25 Thread Ludovic Courtès
Alex Kost skribis: > $ guix download https://savannah.gnu.org/projects/guix/ > starting download of `/tmp/guix-file.Z7tZhy' from > `https://savannah.gnu.org/projects/guix/'... > ;;; Failed to autoload make-session in (gnutls): > ;;; ERROR: missing interface for module (gnutls) > ERROR: In proced

Re: Problems with downloading from https

2014-10-25 Thread Ian Denhardt
Quoting Alex Kost (2014-10-25 13:30:26) > Hello, I noticed > and decided to ask about a similar problem I have. > > Whenever I try to download anything from https, I get an error, for > example: > > --8<---cut here---sta

Problems with downloading from https

2014-10-25 Thread Alex Kost
Hello, I noticed and decided to ask about a similar problem I have. Whenever I try to download anything from https, I get an error, for example: --8<---cut here---start->8--- $ guix download https://savannah.