
#8244: Removing the Cabal dependency -------------------------------------+------------------------------------- Reporter: nh2 | Owner: duncan Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: Test Case: | Blocking: | Differential Revisions: D172 | -------------------------------------+------------------------------------- Comment (by ezyang):
What I had in mind was upgrading, say, Cabal 1.22 -> 1.24 when going from GHC 7.10.2 to GHC 7.10.3. Since GHC API will no longer depend on Cabal, this should be less of a problem.
Well, it would still necessitate bumping up GHC's internal copy of Cabal, since ghc-pkg needs to be compiled with the right version.
Is splitting the parts of Cabal ghc-pkg uses into a separate library out of the picture?
Well, if those bits don't change, you can probably use ghc-pkg with a new Cabal and it probably will work. The whole point is if those types change then you have to clue in ghc-pkg. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8244#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler