diff --git a/Stackage/Config.hs b/Stackage/Config.hs index e502bb58..6d1a80a3 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -634,6 +634,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do -- https://github.com/fpco/stackage/issues/341 addRange "Michael Snoyman" "haskell-names" "< 0.5" + -- https://github.com/fpco/stackage/issues/342 + addRange "Michael Snoyman" "hspec" "< 2.1" + when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do -- Yay workarounds for unnecessarily old versions let peg x y = addRange "Haskell Platform" x y