nix-prefetch-git: Depend on gitMinimal instead of git

This reduces the transitive closure size of nix-prefetch-git from ~355MB
to ~163MB.
This commit is contained in:
Johan Herland
2025-07-14 14:33:40 +00:00
parent 613457ab64
commit 1b97951cb7
@@ -9,7 +9,7 @@
cvs,
findutils,
gawk,
git,
gitMinimal,
git-lfs,
gnused,
mercurial,
@@ -64,7 +64,7 @@ rec {
nix-prefetch-git = mkPrefetchScript "git" ../../../build-support/fetchgit/nix-prefetch-git [
findutils
gawk
git
gitMinimal
git-lfs
];
nix-prefetch-hg = mkPrefetchScript "hg" ../../../build-support/fetchhg/nix-prefetch-hg [