diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index 2531f05cfa9..f14f0b0ebd1 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -91,7 +91,7 @@ self: super: { text = self.text_1_2_3_0; }); - # Needs Cabal 2.2.x, which is not the default. + # These packages need Cabal 2.2.x, which is not the default. distribution-nixpkgs = super.distribution-nixpkgs.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_0; text = self.text_1_2_3_0; @@ -104,5 +104,10 @@ self: super: { Cabal = self.Cabal_2_2_0_0; text = self.text_1_2_3_0; }); + stylish-cabal = dontHaddock (dontCheck (super.stylish-cabal.overrideScope (self: super: { + Cabal = self.Cabal_2_2_0_0; + text = self.text_1_2_3_0; + haddock-library = dontHaddock (dontCheck self.haddock-library_1_5_0_1); + }))); } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index e69165d3c80..9b799cb562e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -797,4 +797,7 @@ self: super: { # https://github.com/haskell/hackage-security/issues/211 hackage-security = doJailbreak super.hackage-security; + # https://github.com/pikajude/stylish-cabal/issues/6 + stylish-cabal = dontHaddock super.stylish-cabal; + }