From b6f41f5cf819199ff4f82e145bea4e64788753e8 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 14 Jul 2024 23:39:26 +0200 Subject: [PATCH] haskell.packages.ghc8107.wai-extra: disable haddock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently, the haddock version shipped with GHC < 9.0 doesn't support haddock syntax like this: module Foo -- * Heading ( bar -- … ) --- pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 a631a2f60db3..33b2da04f771 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -119,6 +119,10 @@ self: super: { algebraic-graphs = dontCheck self.algebraic-graphs_0_6_1; }); + # Uses haddock placement that isn't supported by the versions of haddock + # bundled with GHC < 9.0. + wai-extra = dontHaddock super.wai-extra; + # Overly-strict bounds introducted by a revision in version 0.3.2. text-metrics = doJailbreak super.text-metrics;