From 05f0f216ba2a67e16f565b88468ea7a1b9907b25 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 05:42:26 +0000 Subject: [PATCH 1/7] haskell.packages.ghc914.haskell-debugger-view: unmarkBroken --- pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix index e3ccdf381d5f..67228cbb9f3b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix @@ -121,6 +121,9 @@ with haskellLib; # https://github.com/sjakobi/newtype-generics/pull/28/files newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics); + # haskell-debugger only works with ghc 9.14+ + haskell-debugger-view = doDistribute (unmarkBroken super.haskell-debugger-view); + # # Test suite issues # From 3792514ebfa8f990094965762f6fe95d4964e389 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 05:49:25 +0000 Subject: [PATCH 2/7] haskell.packages.ghc914.ghc-exactprint: add missing deps --- .../haskell-modules/configuration-ghc-9.12.x.nix | 2 +- .../haskell-modules/configuration-ghc-9.14.x.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix index d5c3595591c1..37eec6f9f12a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix @@ -88,7 +88,7 @@ with haskellLib; }) super.cpphs; cabal-install-parsers = doJailbreak super.cabal-install-parsers; # base, Cabal-syntax, etc. ghc-exactprint_1_12_0_0 = addBuildDepends [ - # somehow buildDepends was missing + # cabal2nix drops conditional block: impl (ghc >= 9.12) self.Diff self.extra self.ghc-paths diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix index 67228cbb9f3b..ef0bda7c5e8b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix @@ -74,6 +74,7 @@ with haskellLib; # Version upgrades # + ghc-exactprint = doDistribute self.ghc-exactprint_1_14_0_0; parallel = doDistribute self.parallel_3_3_0_0; tagged = doDistribute self.tagged_0_8_10; unordered-containers = doDistribute self.unordered-containers_0_2_21; @@ -124,6 +125,16 @@ with haskellLib; # haskell-debugger only works with ghc 9.14+ haskell-debugger-view = doDistribute (unmarkBroken super.haskell-debugger-view); + ghc-exactprint_1_14_0_0 = addBuildDepends [ + # cabal2nix drops conditional block: impl (ghc >= 9.14) + self.Diff + self.extra + self.ghc-paths + self.silently + self.syb + self.HUnit + ] super.ghc-exactprint_1_14_0_0; + # # Test suite issues # From 0652b232438f0ffa6691d3ecd833ba283a7cde10 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 05:58:40 +0000 Subject: [PATCH 3/7] 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; From 9faf3c4a8ca0b9d5e4777f197c8bdd724f086b63 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 06:00:54 +0000 Subject: [PATCH 4/7] haskell.packages.ghc914.boring: jailbreak --- pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix index ef0bda7c5e8b..ba8b6971d29d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix @@ -86,6 +86,8 @@ with haskellLib; primitive = doJailbreak (dontCheck super.primitive); # base <4.22 and a lot of dependencies on packages not yet working. splitmix = doJailbreak super.splitmix; # base <4.22 + # https://github.com/phadej/boring/issues/48 + boring = doJailbreak super.boring; # https://github.com/haskellari/indexed-traversable/issues/49 indexed-traversable = doJailbreak super.indexed-traversable; # https://github.com/haskellari/indexed-traversable/issues/50 From ed3b0207b8952c8d091107264ee10732ec2fd7d5 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 06:08:14 +0000 Subject: [PATCH 5/7] haskell.packages.ghc914.{hedgehog, lifted-async}: use latest version --- pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix index ba8b6971d29d..fb19a67d26ea 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix @@ -75,6 +75,8 @@ with haskellLib; # ghc-exactprint = doDistribute self.ghc-exactprint_1_14_0_0; + hedgehog = doDistribute self.hedgehog_1_7; + lifted-async = doDistribute self.lifted-async_0_11_0; parallel = doDistribute self.parallel_3_3_0_0; tagged = doDistribute self.tagged_0_8_10; unordered-containers = doDistribute self.unordered-containers_0_2_21; From f26469276b0a91b0958e96c2a25a1ae5c5d9cc7a Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 06:13:41 +0000 Subject: [PATCH 6/7] haskell.packages.ghc914.haskell-debugger: fix compilation --- pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix | 1 + pkgs/development/haskell-modules/configuration-nix.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix index fb19a67d26ea..8b24d8acc949 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix @@ -128,6 +128,7 @@ with haskellLib; # haskell-debugger only works with ghc 9.14+ haskell-debugger-view = doDistribute (unmarkBroken super.haskell-debugger-view); + haskell-debugger = doJailbreak super.haskell-debugger; # hie-bios < 0.18, random >=1.3.1 ghc-exactprint_1_14_0_0 = addBuildDepends [ # cabal2nix drops conditional block: impl (ghc >= 9.14) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index ab7fe762e66f..42957e04b03f 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1966,6 +1966,9 @@ builtins.intersectAttrs super { broken = false; }) super.cabal-install; + # lots of errors + haskell-debugger = dontCheck super.haskell-debugger; + keid-render-basic = addBuildTool pkgs.glslang super.keid-render-basic; # Disable checks to break dependency loop with SCalendar From 6ad188f0c4154df793bd9ac2cdb4700e0a777117 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 15:05:42 +0000 Subject: [PATCH 7/7] haskell.packages.ghc914.haskell-debugger: add myself as maintainer --- .../haskell-modules/configuration-hackage2nix/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index a27134a99f6d..8901f8ad9c5f 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -128,6 +128,7 @@ package-maintainers: - ghcjs-dom - ghcjs-dom-javascript - ghcjs-dom-jsaddle + - haskell-debugger - jsaddle - jsaddle-clib - jsaddle-dom