haskell: disable haddock on GHC <7.8 on darwin

Fixes NixOS/nixpkgs#812
This commit is contained in:
Benno Fünfstück 2015-08-20 21:49:15 +02:00
parent d1c30dc5aa
commit c51f0dbd52

View File

@ -27,7 +27,7 @@
, jailbreak ? false
, license
, maintainers ? []
, doHaddock ? true
, doHaddock ? !stdenv.isDarwin || stdenv.lib.versionAtLeast ghc.version "7.8"
, passthru ? {}
, pkgconfigDepends ? [], libraryPkgconfigDepends ? [], executablePkgconfigDepends ? [], testPkgconfigDepends ? []
, platforms ? ghc.meta.platforms