From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Mickey Subject: Re: Running guix on nixos Date: Fri, 22 Jan 2016 13:43:41 -0800 Message-ID: <87egd9xpbm.fsf@nevada.int.iggy.bz> References: <87a8nzzzhr.fsf@nevada.int.iggy.bz> <874me79uf2.fsf@gnu.org> <87y4biy3ic.fsf@nevada.int.iggy.bz> <8760ylai1q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjUi-000681-Fw for help-guix@gnu.org; Fri, 22 Jan 2016 16:43:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMjUd-0006FF-JU for help-guix@gnu.org; Fri, 22 Jan 2016 16:43:48 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjUd-0006F5-Cp for help-guix@gnu.org; Fri, 22 Jan 2016 16:43:43 -0500 In-Reply-To: <8760ylai1q.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix@gnu.org * Ludovic Court=C3=A8s [2016-01-22 04:57]: > I think there=E2=80=99s an impurity leading the build system to use lib64/ > instead of lib/. Compare with what we get with =E2=80=9Creal=E2=80=9D Gu= ix: > > --8<---------------cut here---------------start------------->8--- > $ ls $(guix build -e '(@@ (gnu packages commencement) libstdc++)') > include/ lib/ share/ > --8<---------------cut here---------------end--------------->8--- > > Could it be that the above libstdc++ was built before you had enabled > chroot builds? Are you sure the chroot doesn=E2=80=99t contain /bin or a= nything > like that? $ ls $(guix build -e '(@@ (gnu packages commencement) libstdc++)') include lib lib64 share Aha! So I ran nix-garbage-collect (which deleted all the things), rebuilt andd.... still the same :( $ ls $(guix build -e '(@@ (gnu packages commencement) libstdc++)') include lib lib64 share > (Are you sure you don=E2=80=99t want to use guix-daemon? :-)) What I would like as an end result is my host to be reproducible from a `nixos-rebuild switch` command line, and then user's have access to guix's wonderfulness. I'm realizing now also that if guix build's all of it's own stuff anyways, then sharing the same daemon is just a win for simplicity of runtime (only one daemon), but not much simplicity on disk (still two profiles everywhere, almost an entirely separate graph on disk). So, I guess now I need to learn more about nix's configuration file to get this set up in /gnu properly for users in a nixos way. An odd goal, I admit. Dankon por via helpo, Ludo! // codemac