@@ -4,7 +4,7 @@ module Stackage.Config where
4import Control.Monad (when)
4import Control.Monad (when)
5import Control.Monad.Trans.Writer (execWriter, tell)
5import Control.Monad.Trans.Writer (execWriter, tell)
6import qualified Data.Map as Map
6import qualified Data.Map as Map
7−import Data.Set (fromList)
7+import Data.Set (fromList, singleton)
8import Distribution.Text (simpleParse)
8import Distribution.Text (simpleParse)
9import Stackage.Types
9import Stackage.Types
@@ -19,94 +19,95 @@ defaultExtraCore _ = fromList $ map PackageName $ words
19-- error in our package combination.
19-- error in our package combination.
20defaultExpectedFailures :: GhcMajorVersion
20defaultExpectedFailures :: GhcMajorVersion
21 -> Set PackageName
21 -> Set PackageName
22−defaultExpectedFailures _ = fromList $ map PackageName
22+defaultExpectedFailures _ = execWriter $ do
23− [ -- Requires an old version of WAI and Warp for tests
23+ -- Requires an old version of WAI and Warp for tests
26 -- text and setenv have recursive dependencies in their tests, which
26 -- text and setenv have recursive dependencies in their tests, which
27 -- cabal can't (yet) handle
27 -- cabal can't (yet) handle
28− , "text"
28+ add "text"
29− , "setenv"
29+ add "setenv"
31 -- The version of GLUT included with the HP does not generate
31 -- The version of GLUT included with the HP does not generate
32 -- documentation correctly.
32 -- documentation correctly.
33− , "GLUT"
33+ add "GLUT"
35 -- https://github.com/bos/statistics/issues/42
35 -- https://github.com/bos/statistics/issues/42
36− , "statistics"
36+ add "statistics"
38 -- https://github.com/kazu-yamamoto/simple-sendfile/pull/10
38 -- https://github.com/kazu-yamamoto/simple-sendfile/pull/10
39− , "simple-sendfile"
39+ add "simple-sendfile"
41 -- http://hackage.haskell.org/trac/hackage/ticket/954
41 -- http://hackage.haskell.org/trac/hackage/ticket/954
42− , "diagrams"
42+ add "diagrams"
44 -- https://github.com/fpco/stackage/issues/24
44 -- https://github.com/fpco/stackage/issues/24
45− , "unix-time"
45+ add "unix-time"
47 -- With transformers 0.3, it doesn't provide any modules
47 -- With transformers 0.3, it doesn't provide any modules
48− , "transformers-compat"
48+ add "transformers-compat"
50 -- Tests require shell script and are incompatible with sandboxed package
50 -- Tests require shell script and are incompatible with sandboxed package
51 -- databases
51 -- databases
54 -- https://github.com/simonmar/monad-par/issues/28
54 -- https://github.com/simonmar/monad-par/issues/28
55− , "monad-par"
55+ add "monad-par"
57 -- Unfortunately network failures seem to happen haphazardly
57 -- Unfortunately network failures seem to happen haphazardly
58− , "network"
58+ add "network"
60 -- https://github.com/ekmett/hyphenation/issues/1
60 -- https://github.com/ekmett/hyphenation/issues/1
61− , "hyphenation"
61+ add "hyphenation"
63 -- Test suite takes too long to run on some systems
63 -- Test suite takes too long to run on some systems
64− , "punycode"
64+ add "punycode"
66 -- http://hub.darcs.net/stepcut/happstack/issue/1
66 -- http://hub.darcs.net/stepcut/happstack/issue/1
67− , "happstack-server"
67+ add "happstack-server"
69 -- Requires a Facebook app.
69 -- Requires a Facebook app.
72 -- https://github.com/tibbe/hashable/issues/64
72 -- https://github.com/tibbe/hashable/issues/64
73− , "hashable"
73+ add "hashable"
75 -- https://github.com/vincenthz/language-java/issues/10
75 -- https://github.com/vincenthz/language-java/issues/10
76− , "language-java"
76+ add "language-java"
78− , "threads"
78+ add "threads"
79− , "crypto-conduit"
79+ add "crypto-conduit"
80− , "pandoc"
80+ add "pandoc"
81− , "language-ecmascript"
81+ add "language-ecmascript"
82− , "hspec"
82+ add "hspec"
83− , "alex"
83+ add "alex"
85 -- https://github.com/basvandijk/concurrent-extra/issues/
85 -- https://github.com/basvandijk/concurrent-extra/issues/
86− , "concurrent-extra"
86+ add "concurrent-extra"
88 -- https://github.com/rrnewton/haskell-lockfree-queue/issues/7
88 -- https://github.com/rrnewton/haskell-lockfree-queue/issues/7
89− , "abstract-deque"
89+ add "abstract-deque"
91 -- https://github.com/skogsbaer/xmlgen/issues/2
91 -- https://github.com/skogsbaer/xmlgen/issues/2
92− , "xmlgen"
92+ add "xmlgen"
94 -- Something very strange going on with the test suite, I can't figure
94 -- Something very strange going on with the test suite, I can't figure
95 -- out how to fix it
95 -- out how to fix it
96− , "bson"
96+ add "bson"
98 -- Requires a locally running PostgreSQL server with appropriate users
98 -- Requires a locally running PostgreSQL server with appropriate users
99− , "postgresql-simple"
99+ add "postgresql-simple"
101 -- https://github.com/IreneKnapp/direct-sqlite/issues/32
101 -- https://github.com/IreneKnapp/direct-sqlite/issues/32
102− , "direct-sqlite"
102+ add "direct-sqlite"
104 -- Missing files
104 -- Missing files
105− , "websockets"
105+ add "websockets"
107 -- Some kind of Cabal bug when trying to run tests
107 -- Some kind of Cabal bug when trying to run tests
108− , "thyme"
108+ add "thyme"
110+ add = tell . singleton . PackageName
111-- | List of packages for our stable Hackage. All dependencies will be
112-- | List of packages for our stable Hackage. All dependencies will be
112-- included as well. Please indicate who will be maintaining the package
113-- included as well. Please indicate who will be maintaining the package