From 36fe21aa3fe5abe1cef0104b20c296ac9385658d Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Tue, 1 Aug 2017 11:05:18 -0400 Subject: Enable building Cabal with parsec Cabal's parser has been rewritten in terms of Parsec (which is not enabled yet in Cabal-2.0 by default, but can be enabled by a cabal flag). The plan for Cabal is to drop support for the non-parsec parser, so we need to prepare GHC to cope with new situation. However, this means that lib:Cabal requires three new library dependency submodules, - parsec - text - mtl What complicates matters is that we need to build `ghc-cabal` early on during the bootstrap phase which currently needs to invoke `ghc --make` directly. So these additional dependencies need to be integrated into the monolithic `ghc --make` invocation which produces the `ghc-cabal` executable. Test Plan: `./validate --fast` passed Reviewers: austin, bgamari Subscribers: erikd, phadej, rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3757 --- packages | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages') diff --git a/packages b/packages index 6ee80712f2..a44e31687e 100644 --- a/packages +++ b/packages @@ -52,9 +52,12 @@ libraries/directory - - ssh://g libraries/filepath - - ssh://git@github.com/haskell/filepath.git libraries/haskeline - - https://github.com/judah/haskeline.git libraries/hpc - - - +libraries/mtl - - https://github.com/ekmett/mtl.git +libraries/parsec - - https://github.com/haskell/parsec.git libraries/pretty - - https://github.com/haskell/pretty.git libraries/process - - ssh://git@github.com/haskell/process.git libraries/terminfo - - https://github.com/judah/terminfo.git +libraries/text - - https://github.com/bos/text.git libraries/time - - https://github.com/haskell/time.git libraries/transformers - - https://git.haskell.org/darcs-mirrors/transformers.git libraries/unix - - ssh://git@github.com/haskell/unix.git -- cgit v1.2.1