From 0652b232438f0ffa6691d3ecd833ba283a7cde10 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 05:58:40 +0000 Subject: [PATCH] haskell.packages.ghc914.doctest-parallel: fix build with patch --- .../haskell-modules/configuration-common.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 72f81ad75852..0c4778ca5e27 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1161,6 +1161,20 @@ with haskellLib; # https://github.com/ndmitchell/shake/issues/804 shake = dontCheck super.shake; + # https://github.com/martijnbastiaan/doctest-parallel/pull/99 + doctest-parallel = lib.pipe super.doctest-parallel [ + (appendPatch (fetchpatch { + name = "ghc-9.14-fixes"; + url = "https://github.com/martijnbastiaan/doctest-parallel/commit/f3a40202ef8d2d4927dae706bf89f11b2800202d.patch"; + sha256 = "sha256-mKF/hpMXWq5meiBHNbIKAz6c33DWE7zzHkS+Hgl5uX4"; + })) + (overrideCabal (drv: { + # Revision change is not present in PR target branch + editedCabalFile = null; + revision = null; + })) + ]; + # https://github.com/nushio3/doctest-prop/issues/1 doctest-prop = dontCheck super.doctest-prop;