From 3792514ebfa8f990094965762f6fe95d4964e389 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 4 Mar 2026 05:49:25 +0000 Subject: [PATCH] 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 #