diff --git a/pkgs/by-name/tr/treefmt/check-wrapper.nix b/pkgs/by-name/tr/treefmt/check-wrapper.nix index 151a99904714..4442f05c45e1 100644 --- a/pkgs/by-name/tr/treefmt/check-wrapper.nix +++ b/pkgs/by-name/tr/treefmt/check-wrapper.nix @@ -2,6 +2,7 @@ lib, gitMinimal, runCommandLocal, + gitSetupHook, stdenvNoCC, wrapper, }: @@ -17,6 +18,7 @@ runCommandLocal "${lib.getName wrapper}-check" strictDeps = true; nativeBuildInputs = [ gitMinimal + gitSetupHook wrapper ]; inherit project; @@ -34,8 +36,6 @@ runCommandLocal "${lib.getName wrapper}-check" # Setup a git repo git init --initial-branch main - git config user.name nixbld - git config user.email nixbld@example.com git add . git commit -m init --quiet