Conditional upper bounds for ekmett/eq#6

This commit is contained in:
Michael Snoyman 2014-06-01 16:38:08 +03:00
parent e93b6fe9e8
commit cd5dcc2537

View File

@ -433,6 +433,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
-- https://github.com/fpco/stackage/issues/236
addRange "Michael Snoyman" "attoparsec" "< 0.12"
-- https://github.com/ekmett/eq/issues/6
when (ghcVer < GhcMajorVersion 7 8) $ do
addRange "Michael Snoyman" "eq" "< 4.0.2"
-- Requires too new a version of text
when (ghcVer == GhcMajorVersion 7 4 && requireHP) $ do
addRange "Michael Snoyman" "attoparsec" "< 0.11.2.1"