From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Problems with downloading from https Date: Sun, 26 Oct 2014 22:35:06 +0300 Message-ID: <87k33m4ob9.fsf@gmail.com> References: <877fzogiq5.fsf@gmail.com> <20141025200250.675.55930@vulcan.local.tld> <87y4s348k1.fsf@gmail.com> <87fveboseq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiTau-0006gK-1Y for guix-devel@gnu.org; Sun, 26 Oct 2014 15:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiTao-00058f-IQ for guix-devel@gnu.org; Sun, 26 Oct 2014 15:35:15 -0400 In-Reply-To: <87fveboseq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 26 Oct 2014 14:46:21 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s (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: =E2=80=9Cguix package --search-paths=E2=80=9D recomme= nds >> "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile/s= ite/2.0" >> but "gnutls.scm" is actually placed in >> "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile/s= ite" >> so =E2=80=98(use-modules (gnutls))=E2=80=99 failed for me. > > Oh, that=E2=80=99s a bug of the GnuTLS package: we should pass the right > configure flag so that modules go to site/2.0. Could you do that? Yes, but I'm a little concerned. Should it really be so? What about guile-1.8; isn't it supposed to use gnutls module as well? > This should probably go to core-updates, since it=E2=80=99s going to be m= erged > soon anyway. As far as I can see there is no core-updates branch currently: . The patch is attached, so (if it looks good to you) should I push it to master or create "core-updates" branch? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-gnutls-Fix-path-to-a-guile-site-directory.patch Content-Transfer-Encoding: quoted-printable >From 8fd2d01a276f3dc7922577d1bd153677dcea4a39 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sun, 26 Oct 2014 22:11:24 +0300 Subject: [PATCH] gnu: gnutls: Fix path to a guile site directory. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Suggested by Ludovic Court=C3=A8s. * gnu/packages/gnutls.scm (gnutls): Add '--with-guile-site-dir' configure flag. --- gnu/packages/gnutls.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/gnutls.scm b/gnu/packages/gnutls.scm index 1660588..7e9b85e 100644 --- a/gnu/packages/gnutls.scm +++ b/gnu/packages/gnutls.scm @@ -77,6 +77,11 @@ specifications.") "1krx33ab2ijwfz71f1ba8labxfsic7jhlhv6rvjsyw566jj9a3d2")) (patches (list (search-patch "gnutls-server-name-fix.patch"))= ))) (build-system gnu-build-system) + (arguments + '(#:configure-flags + (list (string-append "--with-guile-site-dir=3D" + (assoc-ref %outputs "out") + "/share/guile/site/2.0")))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs --=20 2.1.2 --=-=-=--