diff --git a/Stackage/Config.hs b/Stackage/Config.hs index e13071a6..ecaa221e 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -553,12 +553,13 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do [ "repa repa-io repa-algorithms repa-devil JuicyPixels-repa" ] - mapM_ (add "Nikita Volkov ") $ - words "hasql hasql-postgres hasql-backend postgresql-binary" ++ - words "stm-containers focus list-t slave-thread partial-handler" ++ - words "neat-interpolation cases" ++ - words "base-prelude mtl-prelude" - addRange "Nikita Volkov " "mtl-prelude" "< 2" + when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $ do + mapM_ (add "Nikita Volkov ") $ + words "hasql hasql-postgres hasql-backend postgresql-binary" ++ + words "stm-containers focus list-t slave-thread partial-handler" ++ + words "neat-interpolation cases" ++ + words "base-prelude mtl-prelude" + addRange "Nikita Volkov " "mtl-prelude" "< 2" -- https://github.com/fpco/stackage/issues/217 addRange "Michael Snoyman" "transformers" "< 0.4"