REVERT ME Temporarily block network 2.6 again (cabal-install is still broken)

This commit is contained in:
Michael Snoyman 2014-12-09 18:31:26 +02:00
parent aac7bc3f98
commit 78c3f149fd
2 changed files with 9 additions and 0 deletions

View File

@ -284,6 +284,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
| ghcVer <= GhcMajorVersion 7 6 -> "< 1.17"
| ghcVer <= GhcMajorVersion 7 8 -> "< 1.19"
| otherwise -> "-any"
-- cabal-install is buggy still...
addRange "Michael Snoyman" "network" "< 2.6"
addRange "Michael Snoyman" "network-uri" "< 2.6"
mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
[ "web-fpco th-expand-syns configurator smtLib"

View File

@ -43,10 +43,13 @@ defaultSelectSettings version requireHP = SelectSettings
-> Set.singleton "containers-old"
_ -> Set.empty) `Set.union`
{-
-- Support for network 2.6
(if version >= GhcMajorVersion 7 8 && not requireHP
then Set.singleton "network-uri"
else Set.empty)
-}
Set.empty
, disabledFlags = Set.fromList (words "bytestring-in-base test-hlint")
`Set.union`
(if version <= GhcMajorVersion 7 4
@ -60,10 +63,13 @@ defaultSelectSettings version requireHP = SelectSettings
then Set.singleton "decoderinterface"
else Set.empty) `Set.union`
{-
-- Support for network 2.6
(if version >= GhcMajorVersion 7 8 && not requireHP
then Set.empty
else Set.singleton "network-uri")
-}
Set.singleton "network-uri"
, allowedPackage = const $ Right ()
, useGlobalDatabase = False
, skippedTests =