On Thu, Nov 07, 2024 at 03:34:48PM +0300, Adam wrote: > If I want to write a package for a git repository which has submodules, > should I download these dependencies recursively (recursive? #t)? Or it > will be better to write a package definition for each dependency?
Both approaches are good. It's a matter of taste and the particulars of your package. Some programs have a build system that makes it really hard to use externally provided dependencies rather than the Git submodules. And it's easier to use recursive Git as a packager. On the other hand, if you use recursive Git, you lose the full power of Guix to inspect and manipulate your package's dependency graph.