From 65cee21df35199c919b9aec0546d842f7d016bfa Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 16 Nov 2014 17:29:56 +0200 Subject: [PATCH] Revert "Remove some bans for #333" This reverts commit 4fd41fa2a1a5c05d32ba0ff4b8053e9fbd50a471. --- Stackage/Config.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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"