currently, when a git repo has git modules (git submodules) (.gitmodules file)
then fetchgit with { fetchSubmodules = true; }
will fetch the git modules with git submodule update
the result is a directory with copies of all git modules
expected: fetchgit should store the git modules in separate derivations
and symlink git modules to the parent repo
this adds more complexity
because we need a lockfile with all rev and hash values for all git modules
currently, when a git repo has git modules (git submodules) (
.gitmodules
file) then fetchgit with{ fetchSubmodules = true; }
will fetch the git modules withgit submodule update
the result is a directory with copies of all git modules
expected: fetchgit should store the git modules in separate derivations and symlink git modules to the parent repo this adds more complexity because we need a lockfile with all
rev
andhash
values for all git modulesnixpkgs/pkgs/build-support/fetchgit/nix-prefetch-git