haskell: disable haddock on GHC <7.8 on darwin
Fixes NixOS/nixpkgs#812
commitc51f0dbd522b9c7ed84c13743734b57481ca23dc
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>
dateThu 20 Aug 2015, 21:49 (11 years ago)
parentd1c30dc
pkgs/development/haskell-modules/generic-builder.nix+1−1
@@ -27,7 +27,7 @@
2727, jailbreak ? false
2828, license
2929, maintainers ? []
30−, doHaddock ? true
30+, doHaddock ? !stdenv.isDarwin || stdenv.lib.versionAtLeast ghc.version "7.8"
3131, passthru ? {}
3232, pkgconfigDepends ? [], libraryPkgconfigDepends ? [], executablePkgconfigDepends ? [], testPkgconfigDepends ? []
3333, platforms ? ghc.meta.platforms