Skip to content

Use cabal-install dependency-solver as a library #1615

Closed
@harendra-kumar

Description

@harendra-kumar

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.

  1. 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)

  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions