about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-09 19:35:41 +0100
committerPeter Simons <simons@cryp.to>2015-01-09 19:55:25 +0100
commit2761c63bcfee01287169c9a1bfb6a17862951eac (patch)
treedc1427dc59c0f0ce6a64e30592c59b12ea466fa4 /pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
parent2f2f7678138f749d537c302194635fa94c38f04d (diff)
downloadnixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar.gz
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar.bz2
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar.lz
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar.xz
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.tar.zst
nixlib-2761c63bcfee01287169c9a1bfb6a17862951eac.zip
configuration-ghc-7.9.x: GHC 7.10.1-rc1 can build Haddock documentation, but it cannot build Hoogle files
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix5
1 files 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 3c3f966e69c4..b704da06fc67 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;