Upper bounds for #326

This commit is contained in:
Michael Snoyman 2014-11-10 22:42:05 +02:00
parent e0e76787ea
commit dd5f2171c3

View File

@ -598,6 +598,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
-- https://github.com/fpco/stackage/issues/320
addRange "Michael Snoyman" "lens" "< 4.5"
-- https://github.com/fpco/stackage/issues/326
addRange "Michael Snoyman" "hspec" "< 2"
when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do
-- Yay workarounds for unnecessarily old versions
let peg x y = addRange "Haskell Platform" x y