Fix adding bounds to library with common stanza
Fixes #26.
I had to sacrifice --message feature, which in my view is an acceptable trade off.
Thanks @Bodigrim !
Looks like cabal-add is missing from Stackage nightly.
(It is also missing from older LTSs, but I guess nothing can done about that but adding it as an extra-dep to the respective stack.yaml files.)
Can you reenable cabal-add in Stackage?
I like my dependencies to be in Stackage.
cabal-add used to be in https://www.stackage.org/lts-24.8, but fall out of Nightly because of cabal-install-parsers. I can probably work around it, but I suppose there is a bigger issue: are we happy to drop GHC < 9.2?
Techinically cabal-add could have supported old GHCs, but it's kinda pointless to proclaim compatibility with, say, GHC 8.2, but require Cabal 3.8. And supporting old Cabals is problematic.
but I suppose there is a bigger issue: are we happy to drop GHC < 9.2?
Yes, that should be fine. hackage-cli is mostly an executable, and there is no good reason to keep a long tail of old GHCs in case they become troublesome.