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