diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index daa8d0389e86..2f11410661bd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -113,4 +113,10 @@ self: super: { OneTuple = super.OneTuple.override { ghc-prim = self.hashable; }; + + # Temporarily disabled blaze-textual for GHC >= 9.0 causing hackage2nix ignoring it + # https://github.com/paul-rouse/mysql-simple/blob/872604f87044ff6d1a240d9819a16c2bdf4ed8f5/Database/MySQL/Internal/Blaze.hs#L4-L10 + mysql-simple = addBuildDepends [ + self.blaze-textual + ] super.mysql-simple; } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 6b6a40cc8dc7..0ff1294c1dbf 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -147,4 +147,10 @@ self: super: { OneTuple = super.OneTuple.override { ghc-prim = self.hashable; }; + + # Temporarily disabled blaze-textual for GHC >= 9.0 causing hackage2nix ignoring it + # https://github.com/paul-rouse/mysql-simple/blob/872604f87044ff6d1a240d9819a16c2bdf4ed8f5/Database/MySQL/Internal/Blaze.hs#L4-L10 + mysql-simple = addBuildDepends [ + self.blaze-textual + ] super.mysql-simple; }