From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Garlick Subject: Re: Heads-up: New dependency on Guile-Gcrypt Date: Tue, 11 Sep 2018 10:54:55 +0100 Message-ID: <1536659695.3288.20.camel@tourbillion-technology.com> References: <1536146344.3092.20.camel@tourbillion-technology.com> <87ftynu0eu.fsf@gnu.org> <87d0trkkim.fsf@gnu.org> <1536235121.3126.15.camel@tourbillion-technology.com> <87musuqqpj.fsf@gnu.org> <20180910093458.uqooj4yczswb43lj@thebird.nl> <1536578104.6808.17.camel@tourbillion-technology.com> <87r2i1axpb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzfNw-0006Q2-8d for guix-devel@gnu.org; Tue, 11 Sep 2018 05:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzfNt-0008LC-TG for guix-devel@gnu.org; Tue, 11 Sep 2018 05:55:03 -0400 In-Reply-To: <87r2i1axpb.fsf@gnu.org> 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" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@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.