From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working Date: Tue, 09 May 2017 22:05:16 +0300 Message-ID: <8760h9df6b.fsf@gmail.com> References: <20170508222419.xmrhxru4e56gwvsr@abyayala> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8ASU-0002WZ-WC for bug-guix@gnu.org; Tue, 09 May 2017 15:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8ASR-0001aV-1c for bug-guix@gnu.org; Tue, 09 May 2017 15:06:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8ASQ-0001aP-Rc for bug-guix@gnu.org; Tue, 09 May 2017 15:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8ASQ-00037r-Hm for bug-guix@gnu.org; Tue, 09 May 2017 15:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170508222419.xmrhxru4e56gwvsr@abyayala> (ng0@pragmatique.xyz's message of "Mon, 8 May 2017 22:24:19 +0000") 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" To: ng0 Cc: 26848@debbugs.gnu.org ng0 (2017-05-08 22:24 +0000) wrote: > [user@abyayala ~/src/packages]$ sudo guix system reconfigure /etc/config.scm > guix system: error: failed to load '/etc/config.scm': > ice-9/boot-9.scm:2903:6: In procedure resolve-interface: > ice-9/boot-9.scm:2903:6: no code for module (ng0 packages personalized) > > > [user@abyayala ~/src/packages]$ env | grep "PACKAGE" > GUIX_PACKAGE_PATH=/home/user/src/packages > > From /etc/config.scm first two lines: > > (use-modules (gnu) (guix) (gnu system nss) > (ng0 packages personalized)) > > This is used to reference "ii-ssl" in (packages), > which comes from the module in > https://git.pragmatique.xyz/ng0-packages/log.html > > and which can be installed and used by the users. > > Running "guix system build /etc/config.scm" with this > succeeds, just the "sudo guix system reconfigure /etc/config.scm" > produces this error. When you run "sudo ..." like this, the environment is not preserved, thus GUIX_PACKAGE_PATH is not set for that reconfigure command. Try to run it like this: sudo -E guix system reconfigure /etc/config.scm" -- Alex