GNU bug report logs -
#26848
procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working
Previous Next
Reported by: ng0 <ng0 <at> pragmatique.xyz>
Date: Mon, 8 May 2017 22:25:01 UTC
Severity: normal
Done: Royce Strange <royball <at> disroot.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 26848-done <at> debbugs.gnu.org (full text, mbox):
Hello.
Alex Kost's suggestion to use "sudo -E" for system reconfiguration
is what is needed when setting GUIX_PACKAGE_PATH in a user's environment
to use personal packages.
From sudo's man page:
-----
-E, --preserve-env
Indicates to the security policy that the user wishes to pre‐
serve their existing environment variables. The security
policy may return an error if the user does not have permis‐
sion to preserve the environment.
-----
Verifying myself (as I still need to switch to using channels):
-----
$ guix --version
guix (GNU Guix) 2971ed57345ee4e00058efeaf27c6a0790fdc9dd
$ env | grep "GUIX_PACKAGE_PATH"
GUIX_PACKAGE_PATH=/home/royce/guix-config/.paths/my-packages
$ sudo guix system reconfigure my-config.scm
guix system: error: failed to load 'my-config.scm':
ice-9/boot-9.scm:3300:6: In procedure resolve-interface:
no code for module (roy guix packages emacs)
$ sudo -E guix system reconfigure my-config.scm
...
guix system: bootloader successfully installed on '/boot/efi'
To complete the upgrade, run 'herd restart SERVICE' to stop,
upgrade, and restart each service that was not automatically restarted.
-----
Going to go ahead and close,
as it has been three years since it was suggested,
and the fix proposed by Alex Kost works.
This bug report was last modified 4 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.