Hi! I would like to be able to use my library in my channel and I am straggling to do so. I have created a test channel, which currently has just a single file (test.scm), with the following content.
--8<---------------cut here---------------start------------->8--- (define-module (test packages test) #:use-module (wolfsden fs)) --8<---------------cut here---------------end--------------->8--- When I try to build a guix with this channel (via time-machine), I get the following error. --8<---------------cut here---------------start------------->8--- (repl-version 0 1 1) (exception misc-error (value #f) (value "no code for module ~S") (value ((wolfsden fs))) (value #f)) --8<---------------cut here---------------end--------------->8--- Well, I guess that is expected, of course Guix does not know that guile-wolfsden library is required. But how can I tell it that? There is a manual node `Declaring Channel Dependencies', but it talks only about dependencies on other channels, not packages. However `guix' channel itself depends on for example guile-json, so this type of dependency (channel on package) is obviously possible, I just have no idea how to express it. Would anyone be able to push me in the right direction? Thanks. Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
