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)
I’d like to automate the managing of my build dependencies more, and
cabal gen-boundssounds 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-boundscould read in multiple build plans (e.g. theplan.jsonproduced 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)