diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 649b64ec18f3..52b192c4bad6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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