Only build haddock-api on GHC 7.8 or higher

This commit is contained in:
Michael Snoyman 2014-11-24 11:40:06 +02:00
parent 51de7a9ed9
commit d1368f9621

View File

@ -546,7 +546,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
-}
mapM_ (add "Emanuel Borsobom <manny@fpcomplete.com>") $ words
"haddock-api text-binary"
"text-binary"
when (ghcVer >= GhcMajorVersion 7 8) $
mapM_ (add "Emanuel Borsobom <manny@fpcomplete.com>") $ words
"haddock-api"
mapM_ (add "Michael Sloan <mgsloan@gmail.com") $ words
"th-orphans th-reify-many"