From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Problems with downloading from https
Date: Sun, 26 Oct 2014 22:35:06 +0300 [thread overview]
Message-ID: <87k33m4ob9.fsf@gmail.com> (raw)
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")
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
Ludovic Courtès (2014-10-26 16:46 +0300) wrote:
> Alex Kost <alezost@gmail.com> 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/<user>/guix-profile/share/guile/site/2.0"
>> but "gnutls.scm" is actually placed in
>> "/usr/local/var/guix/profiles/per-user/<user>/guix-profile/share/guile/site"
>> so ‘(use-modules (gnutls))’ failed for me.
>
> Oh, that’s 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’s going to be merged
> soon anyway.
As far as I can see there is no core-updates branch currently:
<http://git.savannah.gnu.org/cgit/guix.git/refs/>.
The patch is attached, so (if it looks good to you) should I push it to
master or create "core-updates" branch?
[-- Attachment #2: 0001-gnu-gnutls-Fix-path-to-a-guile-site-directory.patch --]
[-- Type: text/x-diff, Size: 1193 bytes --]
From 8fd2d01a276f3dc7922577d1bd153677dcea4a39 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
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=UTF-8
Content-Transfer-Encoding: 8bit
Suggested by Ludovic Courtès.
* 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="
+ (assoc-ref %outputs "out")
+ "/share/guile/site/2.0"))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
--
2.1.2
next prev parent reply other threads:[~2014-10-26 19:35 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-25 17:30 Problems with downloading from https Alex Kost
2014-10-25 20:02 ` Ian Denhardt
2014-10-26 7:03 ` Alex Kost
2014-10-26 13:46 ` Ludovic Courtès
2014-10-26 19:35 ` Alex Kost [this message]
2014-10-26 21:01 ` Ludovic Courtès
2014-10-27 9:06 ` Mark H Weaver
2014-10-27 12:24 ` Ludovic Courtès
2014-10-27 12:44 ` Ludovic Courtès
2014-10-27 13:27 ` Alex Kost
2014-10-27 14:43 ` Mark H Weaver
2014-10-27 16:24 ` Ludovic Courtès
2014-10-27 16:44 ` Alex Kost
2014-10-28 8:03 ` Ludovic Courtès
2014-10-29 22:22 ` Andreas Enge
2014-10-30 7:27 ` Alex Kost
2014-10-30 7:49 ` Andreas Enge
2014-10-30 12:31 ` Alex Kost
2014-10-30 12:38 ` Andreas Enge
2014-10-30 19:30 ` Alex Kost
2014-10-30 23:07 ` Different versions of a package in the same profile? Ludovic Courtès
2014-11-01 10:46 ` Andreas Enge
2014-11-02 17:22 ` Ludovic Courtès
2014-11-02 17:39 ` Andreas Enge
2014-10-30 13:20 ` Problems with downloading from https Ludovic Courtès
2014-10-30 17:05 ` Ian Denhardt
2014-10-30 19:08 ` Alex Kost
2014-10-31 4:54 ` Ian Denhardt
2014-10-30 14:48 ` Ludovic Courtès
2014-10-27 13:01 ` Alex Kost
2014-10-27 14:32 ` Mark H Weaver
2014-10-25 21:53 ` Ludovic Courtès
2014-10-26 5:30 ` [PATCH 0/1] " Ian Denhardt
2014-10-26 5:21 ` [PATCH 1/1] README: add a note about optional GnuTLS dependency Ian Denhardt
2014-10-27 12:54 ` Ludovic Courtès
2014-10-27 10:49 ` [PATCH 0/1] Re: Problems with downloading from https Ian Denhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k33m4ob9.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).