Closed
Description
If we can factor out the cabal dependency solver and other related code required for the stack solver as a library we can do more advanced stuff in stack solver. This will require a change in the cabal-install package.
-
We will not have to depend on an external cabal-install executable. See
stack init --solver
should install and use its own GHC #1149 (comment) -
We will not have to parse cabal output which is fragile and can break whenever cabal changes its display output. Not having to parse will allow us to extract a lot more information with ease and we can do more advanced tricks with the solver.