From 0d539d8fadb516bbbcf126d0962e7256965d138c Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 11 Mar 2026 09:53:53 +0100 Subject: [PATCH] haskellPackages.attoparsec: skip flaky t_iter test See , . --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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