diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 78cab79157da..e6b5778cb50d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -460,6 +460,15 @@ with haskellLib; # 2025-02-14: Too strict bounds on attoparsec < 0.14 attoparsec-varword = doJailbreak (dontCheck super.attoparsec-varword); + # Fix t_iter test which fails randomly, but frequently. No upstream feedback so far. + # https://github.com/haskell/attoparsec/issues/232 + attoparsec = overrideCabal (drv: { + testFlags = drv.testFlags or [ ] ++ [ + "-p" + "$0!=\"tests.buf.t_iter\"" + ]; + }) super.attoparsec; + # These packages (and their reverse deps) cannot be built with profiling enabled. ghc-heap-view = lib.pipe super.ghc-heap-view [ disableLibraryProfiling