[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PA

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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

ng0 (2017-05-08 22:24 +0000) wrote:

> address@hidden ~/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)
> address@hidden ~/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"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]