Skip to content

cabal gen-bounds: Consume (multiple) build plans? #8654

@nomeata

Description

@nomeata

I’d like to automate the managing of my build dependencies more, and cabal gen-bounds sounds like it should be an important tool in the process.

However, my projects usually support a range of builds (e.g. different GHC versions), and simply generating the bounds based on one solver results is not going to work.

I could imagine that cabal gen-bounds could read in multiple build plans (e.g. the plan.json produced when building the project) and generating the appropriate dependencies (maybe in ^>= { 1.2.3, 3.4.5 } form) from the union of these build plans.

(Also see related discussion in https://discourse.haskell.org/t/dependency-version-bounds-are-a-lie/5522/17?u=nomeata)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions