···561 # TODO(@sternenseemann): submit upstreamable patch resolving this
562 # (this should be possible by also taking PREFIX into account).
563 ./patches/git-annex-no-usr-prefix.patch
000000000000564 ];
565566 postPatch = ''
···561 # TODO(@sternenseemann): submit upstreamable patch resolving this
562 # (this should be possible by also taking PREFIX into account).
563 ./patches/git-annex-no-usr-prefix.patch
564+565+ # Pick fix for git 2.50 related test suite failures from 10.20250630
566+ # https://git-annex.branchable.com/bugs/test_suite_fail_with_git_2.50/
567+ (pkgs.fetchpatch {
568+ name = "git-annex-workaround-for-git-2.50.patch";
569+ url = "https://git.joeyh.name/index.cgi/git-annex.git/patch/?id=fb155b1e3e59cc1f9cf8a4fe7d47cba49d1c81af";
570+ sha256 = "sha256-w6eXW0JqshXTd0/tNPZ0fOW2SVmA90G5eFhsd9y05BI=";
571+ excludes = [
572+ "doc/**"
573+ "CHANGELOG"
574+ ];
575+ })
576 ];
577578 postPatch = ''