IRC channel logs

2025-05-09.log

back to list of logs

<sneek>dsmith: Greetings :D
<dsmith>sneek, botsnack
<sneek>:)
<nomike>Hi
<nomike>I'm having an issue with my guix-home config which doesn't make sense to me at all and I was sent over here from #guix.
<nomike>I condensed it down to as small an example as I could manage: https://intern.nomike.com/igfwfowbefpuywdvfkijhsdf/
<nomike>There is basic-shell-tools.scm which adds "zsh" to the config. basic-workstation.scm uses that. In the very similar developer-workstation.scm the use of basic-shell-tools is commented out.
<nomike>home-config.scm is the entry point and it uses both basic-workstation and developer-workstation.
<nomike>The code as it is now works. But once I uncomment the use of basic-shell-tools in developer.workstation.scm:2, `guix home reconfigure -L '.' home-config.scm` fails with "error: basic-shell-tools-packages: unbound variable¨.
<nomike>Any ideas of what I might be doing wrong?
<mange>I don't know exactly what's going wrong, but playing around with it I found that this avoided the error: GUILE_LOAD_PATH=".:$GUILE_LOAD_PATH" guix home build home-config.scm
<mange>That is, rather than using Guix's -L, pass the load path via an environment variable. I haven't dug into why this makes a difference, though.
<nomike>mange, thanks a lot.
<wingo>o/
<daviid>nomike_: you should ask these questions in #guix