diff --git a/Stackage/Config.hs b/Stackage/Config.hs index c114cea2..6e8ff8d9 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -417,9 +417,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do mapM_ (add "Adam Bergmark ") $ words "fay fay-base fay-dom fay-jquery fay-text fay-uri snaplet-fay" - - mapM_ (add "Rodrigo Setti ") $ words - "messagepack messagepack-rpc" + + when (not requireHP) $ + mapM_ (add "Rodrigo Setti ") $ words + "messagepack messagepack-rpc" mapM_ (add "Boris Lykah ") $ words "groundhog groundhog-th groundhog-sqlite groundhog-postgresql groundhog-mysql" @@ -550,12 +551,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 (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"