(use-modules (gnu)) ice-9/boot-9.scm: In procedure raise-exception: no code for module (gnu)

[edit] i fixed the issue by installing guile with guix instead of while my foreign dustro.

Og post:

(use-modules (gnu))

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no code for module (gnu)

Where is the guile gnu module given I installed guix via the install script?

The error you see in the title and post comes when I eval via emacs, I assume what I need to do is tell a guile path about the guix guile modules, which is why I’m asking where they are.

How do I tell the GUILE repl about it? Via an env? Like GUILE_LOAD_PATH or GUILE_LOAD_COMPILED_PATH?

Here is what those are set to:

GUILE_LOAD_COMPILED_PATH=/home/drewverlee/.config/guix/current/lib/guile/3.0/site-ccache
GUILE_LOAD_PATH=/home/drewverlee/.config/guix/current/share/guile/site/3.

Other information. My %load-path:

scheme@(emacs-guix)> %load-path
$15 = ("/home/drewverlee/emacs/spacemacs/elpa/29.2/develop/guix-20250525.1711/scheme" "/home/drewverlee/.config/guix/current/share/guile/site/3.0" "/home/drewverlee/emacs/spacemacs/elpa/29.2/develop/geiser-guile-20240920.35/src" "$HOME/.config/guix/current/share/guile/site/3.0" "$GUILE_LOAD_PATH" "/usr/share/guile/3.0" "/usr/share/guile/site/3.0" "/usr/share/guile/site" "/usr/share/guile")

Here is my ,import:

,import
(guile)
(guix ui)
(guix packages)
(emacs-guix commands)
(emacs-guix licenses)
(emacs-guix packages)
(emacs-guix generations)
(emacs-guix system-generations)
(emacs-guix system)
(emacs-guix services)
(emacs-guix store-items)
(emacs-guix actions)
(emacs-guix graph)
(emacs-guix hash)
(emacs-guix lint)
(emacs-guix pack)
(emacs-guix profiles)
(emacs-guix refresh)
(emacs-guix emacs)
(emacs-guix utils)
(guix packages)
(emacs-guix commands)
(emacs-guix licenses)
(emacs-guix packages)
(emacs-guix generations)
(emacs-guix system-generations)
(emacs-guix system)
(emacs-guix services)
(emacs-guix store-items)
(emacs-guix actions)
(emacs-guix graph)
(emacs-guix hash)
(emacs-guix lint)
(emacs-guix pack)
(emacs-guix profiles)
(emacs-guix refresh)
(emacs-guix emacs)
(emacs-guix utils)
(value-history)

A cool video on load-path: https://www.youtube.com/watch?v=kPnn22aC5eQ

Thanks!

[EDIT]

SO I suspect they are $HOME/.config/guix/current/share/guile/site/3.0 given that has a /gnu.

But that’s confusing because that’s on the load-path. already…