Skip to content

Smartness bypass: using supplied package sets as is #6049

@deepfire

Description

@deepfire

In some scenarios, it would be extremely helpful to allow Cabal's new-build to operate in a simplified mode, whereby it would be supplied with a GHC package set presumed to be used as-is, and so it would look for a solution within that package set, according to the .cabal-specified constraints.

Using the functionality of new-freeze doesn't quite fit the bill, because it's documented to:

which records all of the versions and flags which that are picked by the solver under the current index and flags

..which seems to necessitate undesired specificity -- all we want to specify is just an input package set, but not the extra details -- basically keeping the freedom to use a wider range of inputs (since we can vary versions and flags) that can be "matched" against the cabal file.

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