[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packaging a repository with git submodules
From: |
Leo Famulari |
Subject: |
Re: Packaging a repository with git submodules |
Date: |
Sat, 9 Nov 2024 19:14:23 -0500 |
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.