From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Porting to mips64el Date: Tue, 08 Jan 2013 17:30:37 +0100 Message-ID: <87k3rnr61e.fsf@gnu.org> References: <8738yvnslh.fsf@karetnikov.org> <87y5gfa7t9.fsf@gnu.org> <87vcbjldp5.fsf@karetnikov.org> <87zk0v4e29.fsf@gnu.org> <87wqvzclyj.fsf@karetnikov.org> <87ehi71bl6.fsf@gnu.org> <87pq1rma9g.fsf@karetnikov.org> <87wqvyxvhv.fsf@gnu.org> <87lic3vm8s.fsf@karetnikov.org> <871udv6bny.fsf@gnu.org> <87d2xfk9qb.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsc4b-0007T5-L0 for bug-guix@gnu.org; Tue, 08 Jan 2013 11:30:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsc4W-0004ZX-8T for bug-guix@gnu.org; Tue, 08 Jan 2013 11:30:45 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:50322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsc4W-0004ZJ-1N for bug-guix@gnu.org; Tue, 08 Jan 2013 11:30:40 -0500 In-Reply-To: <87d2xfk9qb.fsf@karetnikov.org> (Nikita Karetnikov's message of "Tue, 08 Jan 2013 09:52:32 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Hi, Nikita Karetnikov skribis: >> Most likely the problem is that (%nixpkgs-directory) is #f. To fix >> that, you need to either run configure --with-nixpkgs=3D/path/to/nixpkgs, >> or set the =E2=80=98NIXPKGS=E2=80=99 environment variable. > > You're right. I forgot to specify this option. > > How can I tell Guix that 'nix-worker --daemon' listens on > '/nix/var/nix/daemon-socket/socket', not > '/usr/local/var/nix/daemon-socket/socket'? '--with-nix-prefix=3D/nix' > doesn't work. With --localstatedir=3D/nix/var/nix (see store.scm and config.scm). >>> It's possible that I've forgotten to install something. I ran >>> 'nix-env -i guile' to check that Nix-related things work fine, but I >>> interrupted the process when it decided to fetch the Linux kernel from >>> . > >>> (Actually, it's a bit disappointing because I thought that >>> 'export HYDRA_DISALLOW_UNFREE=3D1' can handle this. But it's a differe= nt >>> issue.) > > Well, it turned out that this is a related issue. > > './pre-inst-env guix-build -K hello' also tries to fetch the kernel from > . How to instruct Guix to use Linux-libre > instead? Remember: to bootstrap things here, you=E2=80=99re using Nixpkgs. Here it= =E2=80=99s Nixpkgs=E2=80=99s glibc that uses kernel.org Linux headers. At this point, you don=E2=80=99t want to build Hello. ;-) Instead, you sh= ould build the bootstrap binaries, as described in HACKING, that will allow our distro to be self-contained. Make sure to use =E2=80=98core-updates=E2= =80=99 as a starting point. HTH, Ludo=E2=80=99.