Allow allow-newer in cabal.project package stanzas #7896
Labels
can-workaround
There is a (maybe partial) workaround for the issue or missing feature
type: enhancement
Describe the bug
Currently
allow-newer
can be used to lift lower-bounds on a set of packages throughout the install plan. However, this is often a far larger hammer than is necessary. More often, I merely need to lift an outdated bound in a particular package.cabal-install
should allow the user to express this intent in theircabal.project
file with use of theallow-newer
field in apackage
stanza. For instance, if packagepipes-zlib
has an outdated bound onghc-prim
, I could lift this bound using,This would have the effect of dropping the upper bound from any constraints on
ghc-prim
frompipes-zlib.cabal
.The text was updated successfully, but these errors were encountered: