haskellPackages.text-icu: apply patch for time rendering test

See https://github.com/haskell/text-icu/issues/108.
This commit is contained in:
sterni
2026-07-26 16:13:39 +02:00
parent ea31f133da
commit 48ea35d0b8

View File

@@ -1714,14 +1714,17 @@ with haskellLib;
shh = doJailbreak super.shh;
shh-extras = doJailbreak super.shh-extras;
# Disable test cases that were broken by insignificant changes in icu 76
# https://github.com/haskell/text-icu/issues/108
text-icu = overrideCabal (drv: {
testFlags = drv.testFlags or [ ] ++ [
"-t"
"!Test cases"
];
}) super.text-icu;
text-icu = lib.pipe super.text-icu [
(appendPatches [
# Fix time rendering test with ICU >= 76
# https://github.com/haskell/text-icu/issues/108
(pkgs.fetchpatch {
name = "text-icu-time-tests-icu-76.patch";
url = "https://github.com/haskell/text-icu/commit/921287b296ff781051c7bff45bb9adb04ee3a6a7.patch";
hash = "sha256-gi6ilqgN/1PLGdVNxXE217J+c0reaitLWND8X6VsV1U=";
})
])
];
hercules-ci-agent = self.generateOptparseApplicativeCompletions [
"hercules-ci-agent"