diff options
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index 69eea055315af..5b17975ca8b70 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -4,6 +4,7 @@ with haskellLib; let inherit (pkgs.stdenv.hostPlatform) isDarwin; + inherit (pkgs) lib; in self: super: { @@ -135,4 +136,21 @@ self: super: { # No instance for (Show B.Builder) arising from a use of ‘print’ http-types = dontCheck super.http-types; + + # Packages which need compat library for GHC < 9.6 + inherit + (lib.mapAttrs + (_: addBuildDepends [ self.foldable1-classes-compat ]) + super) + indexed-traversable + these + ; + base-compat-batteries = addBuildDepends [ + self.foldable1-classes-compat + self.OneTuple + ] super.base-compat-batteries; + OneTuple = addBuildDepends [ + self.foldable1-classes-compat + self.base-orphans + ] super.OneTuple; } |