diff --git a/Stackage/Config.hs b/Stackage/Config.hs index 846084ff..e54f5455 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -404,6 +404,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do -- https://github.com/fpco/stackage/issues/219 addRange "Michael Snoyman" "comonad" "< 4.2" + -- https://github.com/fpco/stackage/issues/224 + when (ghcVer <= GhcMajorVersion 7 6) $ do + addRange "Michael Snoyman" "zip-archive" "< 0.2.3.1" + -- Requires too new a version of text when (ghcVer == GhcMajorVersion 7 4 && requireHP) $ do addRange "Michael Snoyman" "attoparsec" "< 0.11.2.1" diff --git a/patching/patches/lens-4.1.2.patch b/patching/patches/lens-4.1.2.patch new file mode 100644 index 00000000..01a67a71 --- /dev/null +++ b/patching/patches/lens-4.1.2.patch @@ -0,0 +1,12 @@ +diff -ru orig/lens.cabal new/lens.cabal +--- orig/lens.cabal 2014-05-16 09:14:13.877832405 +0300 ++++ new/lens.cabal 2014-05-16 09:14:13.000000000 +0300 +@@ -201,7 +201,7 @@ + primitive >= 0.4.0.1 && < 0.6, + profunctors >= 4 && < 5, + reflection >= 1.1.6 && < 2, +- scientific >= 0.2 && < 0.3, ++ scientific >= 0.2 && < 0.4, + semigroupoids >= 4 && < 5, + semigroups >= 0.8.4 && < 1, + split >= 0.2 && < 0.3,