haskell-ng: rename "noHaddock" attribute to "doHaddock"

This makes the attribute (a) consistent with "doCheck" and friends and (b)
avoids the double negation "noHaddock = false" meaning "doHaddock = true".

Fixes https://github.com/NixOS/cabal2nix/issues/63.
This commit is contained in:
Peter Simons
2015-01-18 12:58:31 +01:00
parent 8c833f2a12
commit 380114738f
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ let
inherit (self) ghc jailbreak-cabal;
hscolour = overrideCabal self.hscolour (drv: {
isLibrary = false;
noHaddock = true;
doHaddock = false;
hyperlinkSource = false; # Avoid depending on hscolour for this build.
postFixup = "rm -rf $out/lib $out/share $out/nix-support";
});
@@ -29,7 +29,7 @@ let
mkDerivation = drv: super.mkDerivation (drv // {
enableSharedExecutables = false;
enableSharedLibraries = false;
noHaddock = true;
doHaddock = false;
useCpphs = false;
});
})) (drv: {