Hi Tomas, ter 20 ago 2024 às 23:43:33 (1724208213), [email protected] enviou: > > Hello Guix, > > I did run into an interesting (frustrating?) problem. I created a > package that bundles few Guile modules of my making. I installed it > into my home environment and wanted to use helpers from it in my system > configuration. However I am not sure how to do that. > > When I do > > --8<---------------cut here---------------start------------->8--- > guix system build some/config.scm > --8<---------------cut here---------------end--------------->8--- > > The system builds and everything is fine. > > However when try to reconfigure the system using > > --8<---------------cut here---------------start------------->8--- > sudo guix system reconfigure some/config.scm > --8<---------------cut here---------------end--------------->8--- > > It fails with a very descriptive error of > > --8<---------------cut here---------------start------------->8--- > ice-9/eval.scm:142:16: In procedure compile-top-call: > error: system-add-luks: unbound variable > hint: Did you forget `(use-modules (wolfsnet systems))'? > --8<---------------cut here---------------end--------------->8--- >
I've never done that, but have you tried setting GUILE_LOAD_PATH? $ sudo GUILE_LOAD_PATH="myguile/modules:$GUILE_LOAD_PATH" guix system reconfigure some/config.scm Cheers,
