hscolourBootstrap: disable Haddock phase for this tool in ghc-7.9.x to work around a compiler bug

| haddock: internal error: expectJust getPackageDetails
This commit is contained in:
Peter Simons 2014-11-08 00:44:03 +01:00
parent 5be65c8cc6
commit 78bf8a6e5a

View File

@ -3118,7 +3118,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hyperlinkSource = false;
configureFlags = super.configureFlags or "" +
pkgs.lib.optionalString (pkgs.stdenv.lib.versionOlder "6.12" ghc.version) " --ghc-option=-rtsopts";
};
} // pkgs.stdenv.lib.optionalAttrs (pkgs.stdenv.lib.versionOlder "7.9" ghc.version) { noHaddock = true; };
};
};