all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Garlick <pgarlick@tourbillion-technology.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Heads-up: New dependency on Guile-Gcrypt
Date: Tue, 11 Sep 2018 10:54:55 +0100	[thread overview]
Message-ID: <1536659695.3288.20.camel@tourbillion-technology.com> (raw)
In-Reply-To: <87r2i1axpb.fsf@gnu.org>

Hi Ludo,

> Or am I missing something?
> 

No, I don't think so.  Everything is working again after your bug fix.
 

I have just needed to introduce a couple of concepts in order to use
the ./pre-inst-env commands in the git checkout.  Firstly, I use a
development environment created by:

$ guix environment --ad-hoc guile gnutls guile-gcrypt guile-json nss-
certs

This adds the guile-gcrypt dependency and prevents the 'no code for
module (gcrypt hash)' error.

Then, for working on a new package ('my-new-package'), I create a new
environment:

$ ./pre-inst-env guix environment --pure my-new-package --ad-hoc guile-
gcrypt

Lastly, to build the package I need to define GUILE_LOAD_PATH:

$ GUILE_LOAD_PATH=$GUIX_ENVIRONMENT/share/guile/site/2.2 ./pre-inst-env 
guix build -K my-new-package

An alternative would perhaps be to install guile-gcrypt in the user
profile (or a separate profile as suggested by Pjotr).  Then use
GUILE_LOAD_PATH=/home/paul/.guix-profile/share/guile/site/2.2.

Best regards,

Paul.

  reply	other threads:[~2018-09-11  9:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-05 11:19 Heads-up: New dependency on Guile-Gcrypt Paul Garlick
2018-09-05 20:58 ` Ludovic Courtès
2018-09-06  9:24   ` Paul Garlick
2018-09-06 10:06   ` Ludovic Courtès
2018-09-06 11:58     ` Paul Garlick
2018-09-06 21:08       ` Ludovic Courtès
2018-09-10  9:34         ` Pjotr Prins
2018-09-10 11:15           ` Paul Garlick
2018-09-10 20:45             ` Ludovic Courtès
2018-09-11  9:54               ` Paul Garlick [this message]
2018-09-12 17:14                 ` Ludovic Courtès
2018-09-14 19:17                   ` Thorsten Wilms
2018-09-27  7:45                     ` Ricardo Wurmus
2018-09-27 11:36                       ` Thorsten Wilms
2018-09-06 21:14     ` Paul Garlick
  -- strict thread matches above, loose matches on Subject: below --
2018-09-02 16:35 Ludovic Courtès
2018-09-03 10:36 ` Christopher Lemmer Webber
2018-09-04 20:07   ` Alex Vong
2018-09-04 20:14     ` Leo Famulari
2018-09-04 21:33     ` Ludovic Courtès
2018-09-05 23:24       ` Alex Vong
2018-09-06  9:21         ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536659695.3288.20.camel@tourbillion-technology.com \
    --to=pgarlick@tourbillion-technology.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.