@@ -418,7 +418,7 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
418418 mapM_ (add "Adam Bergmark <adam@bergmark.nl>") $ words
419419 "fay fay-base fay-dom fay-jquery fay-text fay-uri snaplet-fay"
420420
421− when (not requireHP) $
421+ when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $
422422 mapM_ (add "Rodrigo Setti <rodrigosetti@gmail.com>") $ words
423423 "messagepack messagepack-rpc"
424424
@@ -551,7 +551,7 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
551551 [ "repa repa-io repa-algorithms repa-devil JuicyPixels-repa"
552552 ]
553553
554− when (not requireHP) $ do
554+ when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $ do
555555 mapM_ (add "Nikita Volkov <nikita.y.volkov@mail.ru>") $
556556 words "hasql hasql-postgres hasql-backend postgresql-binary" ++
557557 words "stm-containers focus list-t slave-thread partial-handler" ++