Hi Guix,
A while back, I opened a PR which allows Guix channels to be added
using the guix-extension mechanism[1], rather than
modify-services, which feels very fiddly and verbose.
While doing some testing, I noticed a problem, which is that the
chanenls field of guix-configuration has a default of #f, instead
of %default-channels; so the extension mechanism ends up adding
channels, but the defaults are no longer used. I could change the
extension mechanism to use (or (guix-configuration-channels
config) %default-channels), but I feel like there’s probably a
reason why %default-channels isn’t the default field value. I
don’t want to push code that changes this without having a good
understanding of why it’s the way it is now.
Could someone explain why that is, and whether extending to add
channels is a reasonably possible thing to do at all?
Thanks,
-- Ian
[1]: https://codeberg.org/guix/guix/pulls/5192