Skip to content

RFC Add external solver #3582

@phadej

Description

@phadej

Shortly: Allow to use external program for dependency solving.

Motivation: Even after the solver is split into a separate package, plugging new solvers into cabal-install would require it to (optionally) depend on new solver packages. Non-dependent - "plugin" - approach, where cabal-install executes external process would help with this.

For example I would like to experiment with SMT solvers, matrix.h.h.o might want to use own solver to exploit controversial install plans. Also experimenting with current solver would be easier, as one could have different variants, yet single cabal -executable.

Details:

  • Input: constraints and preferences (AFAICS what is installed and what we want to be installed are the same from solver point of view,)
  • Output: exact-configuration
  • Format: ?

ping @kosmikus, @grayjay, @ezyang, @BardurArantsson

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions