From 2761c63bcfee01287169c9a1bfb6a17862951eac Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Jan 2015 19:35:41 +0100 Subject: [PATCH] configuration-ghc-7.9.x: GHC 7.10.1-rc1 can build Haddock documentation, but it cannot build Hoogle files --- pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix index 3c3f966e69c..b704da06fc6 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix @@ -34,8 +34,9 @@ self: super: { # Cabal 1.20.x without jailbreak. Go figure. Let's use a sledgehammer. jailbreak-cabal = pkgs.haskellngPackages.jailbreak-cabal; - # haddock: internal error: expectJust getPackageDetails - mkDerivation = drv: super.mkDerivation (drv // { noHaddock = true; }); + # GHC 7.10.x's Haddock binary cannot generate hoogle files. + # https://ghc.haskell.org/trac/ghc/ticket/9921 + mkDerivation = drv: super.mkDerivation (drv // { doHoogle = false; }); # These used to be a core packages in GHC 7.8.x. old-locale = self.old-locale_1_0_0_7;