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:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user