pre-commit: replace `git` with `gitMinimal`

+4 -5
+2 -3
pkgs/by-name/pr/pre-commit/package.nix
··· 6 6 cargo, 7 7 coursier, 8 8 dotnet-sdk, 9 - git, 9 + gitMinimal, 10 10 glibcLocales, 11 11 go, 12 12 nodejs, 13 13 perl, 14 14 cabal-install, 15 - testers, 16 15 pre-commit, 17 16 }: 18 17 ··· 50 49 cargo 51 50 coursier 52 51 dotnet-sdk 53 - git 52 + gitMinimal 54 53 glibcLocales 55 54 go 56 55 libiconv # For rust tests on Darwin
+2 -2
pkgs/by-name/pr/pre-commit/tests.nix
··· 1 1 { 2 - git, 2 + gitMinimal, 3 3 pre-commit, 4 4 runCommand, 5 5 testers, ··· 9 9 runCommand "check-meta-hooks" 10 10 { 11 11 nativeBuildInputs = [ 12 - git 12 + gitMinimal 13 13 pre-commit 14 14 ]; 15 15 }