git-annex: apply workaround for test failure with git 2.50

The next haskellPackages bulk update will also resolve this, but picking
the patch will prevent a broken git-annex until the next staging-next is
merged into master.

(cherry picked from commit 75542a9b87)
(from PR #424682)
https://hydra.nixos.org/build/303801265
This commit is contained in:
sternenseemann
2025-07-12 23:24:17 +02:00
committed by Vladimír Čunát
parent 89399783f5
commit 2070a9a53c

View File

@@ -504,6 +504,18 @@ self: super:
# TODO(@sternenseemann): submit upstreamable patch resolving this
# (this should be possible by also taking PREFIX into account).
./patches/git-annex-no-usr-prefix.patch
# Pick fix for git 2.50 related test suite failures from 10.20250630
# https://git-annex.branchable.com/bugs/test_suite_fail_with_git_2.50/
(pkgs.fetchpatch {
name = "git-annex-workaround-for-git-2.50.patch";
url = "https://git.joeyh.name/index.cgi/git-annex.git/patch/?id=fb155b1e3e59cc1f9cf8a4fe7d47cba49d1c81af";
sha256 = "sha256-w6eXW0JqshXTd0/tNPZ0fOW2SVmA90G5eFhsd9y05BI=";
excludes = [
"doc/**"
"CHANGELOG"
];
})
];
postPatch = ''