From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:55748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxsbM-00054f-GD for gwl-devel@gnu.org; Sun, 24 Feb 2019 07:09:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxsbL-0003Sd-EL for gwl-devel@gnu.org; Sun, 24 Feb 2019 07:09:48 -0500 Received: from mail.thebird.nl ([94.142.245.5]:47058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxsbK-0003RT-TN for gwl-devel@gnu.org; Sun, 24 Feb 2019 07:09:47 -0500 Date: Sun, 24 Feb 2019 13:02:27 +0100 From: Pjotr Prins Message-ID: <20190224120227.ebv54vt6hhzvkozd@thebird.nl> References: <87pnrl40j8.fsf@elephly.net> <20190222163314.u6657mmljjcuugeh@thebird.nl> <20190222165758.jidclqfqzphcejsm@thebird.nl> <20190222211813.ddxttd4lf7fcit6p@thebird.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: `--run=simple` error ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: zimoun Cc: gwl-devel@gnu.org On Sun, Feb 24, 2019 at 12:40:13PM +0100, zimoun wrote: > Hi Pjotr, > > On Fri, 22 Feb 2019 at 22:18, Pjotr Prins wrote: > > > > guix environment -C guix > > > > pulls in everything you need to build guix itself. > > If I understand well, this sequence: > > cd ~/guix-master > git checkout > cd /path/to/project > ~/guix-master/pre-inst-env guix environment -C tool --ad-hoc other tools > > is nouw somehow equivalent to: > > guix pull --commit= > guix environment -C tool --ad-hoc othertools Guix pull also pulls in its build environment. > Right? > > > > And is it the guix modules or only its dependencies? (guile, autotools, etc.) > > > > try it, you can check. Also read > > > > https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#building-gnu-guix-from-source-using-guix---the-bullet-proof-way > > > > > And idem if you run instead: > > > ~/guix-master/pre-inst-env guix environment -C gwl --ad-hoc some other tools > > > or any other package that depends on Guix. > > > In fact, the question is how to do when a package (gwl) depends on > Guix the library. > Kind of build time vs run time. If I understand well. > It was my initial issue: gwl was built with a version of Guix. Then it > fails at run time because the very Guix version was incompatible. Yeah. You have to get the PATHs right for the different purposes. Pj.