I have a rather unusual question, I think. I work on a bunch of repos
with their own guix.scm spec. I have created a monorepo collecting all
these projects as submodules, for the purposes of building system images
and so forth. 

Our projects are built against an older commit of guix. But I had
trouble building the system containers against that older commit. So,
every package that the system containers know about is in '/packages/*'
relative to the monorepo root. But those packages use a kind of
disgusting hack to load their `guix.scm` from '/submodule/guix.scm',
`inferior-eval` that package, then expose that to the 'superior' guix as
a regular package. The point is -- these packages depend on the content
of submodules being present in a certain directory relative to their
source. This is also for ease of development.

Now, I want to publish the monorepo's '/packages' directory as a
channel for the purposes of a substitute server. As far as I can tell,
there is no way to make a channel load submodules. Is there a way to get
the same effect, is there any interest in a PR making such a thing
possible, or should I be thinking about some completely different third
thing?

Best,
Phillip

Reply via email to