Rutherther <[email protected]> writes:

> Hi Tomas,
>
> Tomas Volf <[email protected]> writes:
>
>> 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.
>>
>
> There is no way to express it. There is a hardcoded list of packages
> that guix uses. Both (gnu packages package-management) guix package
> and (guix self) hardcoded that list. There is no way to override it
> without changing the guix channel.
>
> Third-party channels currently have no way to add foreign guile library
> dependencies. Only other channels.

Thank you for your answer, it is good to have confirmation, though it
obviously is not what I wanted to hear. :)

I think I figured out how to work around this limitation.  I can pack my
library with -R, commit the extracted `gnu/store' directory into the
channel repository and adjust load-path inside some .scm file that is
part of the channel.  While that feels hackish, I believe it should
work.  Will give that a try.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Reply via email to