git: add comments for patches
Adds inline comments for all patches as per CONTRIBUTING.md
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user