From 3f2212cdbbe320d320830b7045502ade72fa4a09 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 8 Aug 2025 17:27:06 +0400 Subject: [PATCH] git: add comments for patches Adds inline comments for all patches as per CONTRIBUTING.md --- pkgs/applications/version-management/git/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/version-management/git/default.nix b/pkgs/applications/version-management/git/default.nix index 50de22322407..0ed21e8e034f 100644 --- a/pkgs/applications/version-management/git/default.nix +++ b/pkgs/applications/version-management/git/default.nix @@ -100,11 +100,19 @@ stdenv.mkDerivation (finalAttrs: { enableParallelInstalling = true; patches = [ + # This patch does two things: (1) use the right name for `docbook2texi', + # and (2) make sure `gitman.info' isn't produced since it's broken + # (duplicate node names). ./docbook2texi.patch + # Fix references to gettext.sh at runtime: hard-code it to + # ${pkgs.gettext}/bin/gettext.sh instead of assuming gettext.sh is in $PATH ./git-sh-i18n.patch + # Do not search for sendmail in /usr, only in $PATH ./git-send-email-honor-PATH.patch ] ++ lib.optionals withSsh [ + # Hard-code the ssh executable to ${pkgs.openssh}/bin/ssh instead of + # searching in $PATH ./ssh-path.patch ];