From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:50896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIJF-0004A8-A1 for gwl-devel@gnu.org; Fri, 22 Feb 2019 16:24:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxIJE-0005qN-1u for gwl-devel@gnu.org; Fri, 22 Feb 2019 16:24:41 -0500 Received: from mail.thebird.nl ([94.142.245.5]:44310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIJD-0005i2-Nn for gwl-devel@gnu.org; Fri, 22 Feb 2019 16:24:39 -0500 Date: Fri, 22 Feb 2019 22:18:13 +0100 From: Pjotr Prins Message-ID: <20190222211813.ddxttd4lf7fcit6p@thebird.nl> References: <87pnrl40j8.fsf@elephly.net> <20190222163314.u6657mmljjcuugeh@thebird.nl> <20190222165758.jidclqfqzphcejsm@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 Fri, Feb 22, 2019 at 10:05:45PM +0100, zimoun wrote: > Hi Pjotr, > > > You can run a container in a freshly compiled source tree. I do that > > all the time. I don't normally use guix pull. Example using a D compiler > > > > ~/guix-master/pre-inst-env guix environment -C guix --ad-hoc ldc clang llvm unzip gdb ncurses vim git make cmake which less tzdata binutils > > rm -rf CMakeFiles CMakeCache.txt > > cmake . > > make clean > > make -j 24 > > Thank you for the trick. > I will use more containers. ;-) > > However, the issue is now how to ./configure Guix and one also needs > to turn on container support (root privileges). Yes. Fair point. Works on machines that allow that though and it is good for resolving issues. > And say it is maybe not the most friendly. :-) I mean it is the hacker > solution (and yes they know how to choose their friend ;-) > > > Well, even I am still confused. > > Which guix modules are going to the container ? > a) the ones from the package guix in the checkout > or b) the ones of the checkout itself. guix environment -C guix pulls in everything you need to build guix itself. > 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. Just check what is in the /gnu/store. > > Cheers, > simon