haskellPackages.criterion: fix test race condition with tasty 1.5.4

This commit is contained in:
sternenseemann
2026-04-02 20:20:29 +02:00
parent f0280f5c24
commit 4a2f25da5d
@@ -375,6 +375,15 @@ with haskellLib;
'';
}) super.streamly-core;
# Work around tasty >= 1.5.4 parallelism breaking the test suite
criterion = appendPatches [
(pkgs.fetchpatch {
name = "criterion-tasty-1.5.4.patch";
url = "https://github.com/haskell/criterion/commit/d555422d1779434432489efbc19d75011226c3e6.patch";
hash = "sha256-VRSfdzT/mzdRSMQmmIeycuChvRN/VDhYsHJQb0bRMaA=";
})
] super.criterion;
# Expected failures are fixed as of GHC-9.10,
# but the tests haven't been updated yet.
# https://github.com/ocharles/weeder/issues/198