From fcff431ba53a2aec882993bfc95a96fd926b6fec Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:25:07 +0100 Subject: [PATCH] pre-commit: replace `git` with `gitMinimal` --- pkgs/by-name/pr/pre-commit/package.nix | 5 ++--- pkgs/by-name/pr/pre-commit/tests.nix | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/pr/pre-commit/package.nix b/pkgs/by-name/pr/pre-commit/package.nix index d071d53f7218..334ab8816faf 100644 --- a/pkgs/by-name/pr/pre-commit/package.nix +++ b/pkgs/by-name/pr/pre-commit/package.nix @@ -6,13 +6,12 @@ cargo, coursier, dotnet-sdk, - git, + gitMinimal, glibcLocales, go, nodejs, perl, cabal-install, - testers, pre-commit, }: @@ -50,7 +49,7 @@ buildPythonApplication rec { cargo coursier dotnet-sdk - git + gitMinimal glibcLocales go libiconv # For rust tests on Darwin diff --git a/pkgs/by-name/pr/pre-commit/tests.nix b/pkgs/by-name/pr/pre-commit/tests.nix index a1b40bc2d8cc..2c9de8cbfc6f 100644 --- a/pkgs/by-name/pr/pre-commit/tests.nix +++ b/pkgs/by-name/pr/pre-commit/tests.nix @@ -1,5 +1,5 @@ { - git, + gitMinimal, pre-commit, runCommand, testers, @@ -9,7 +9,7 @@ runCommand "check-meta-hooks" { nativeBuildInputs = [ - git + gitMinimal pre-commit ]; }