Closed srid closed 2 years ago
Great, thanks. Since I'm a cabal newbie, a question: is there a way to figure out the right constraints other than testing versions one by one? The way I set it originally: I printed the versions cabal was using and used >= x.y
for a package whose version was x.y.z
@lucasvreis I personally try to avoid specifying cabal constraints wherever I can, because those versions are normally managed by Nix. I add constraints only when it becomes known that there is a particular minimum (and/or maximum) version for that library.
The way I set it originally: I printed the versions cabal was using and used
>= x.y
for a package whose version wasx.y.z
That would be too strict, because more often than not your package will work on x.(y-n)
anyway. Relaxing the constraints minimizes cabal conflicts like https://github.com/lucasvreis/abacateiro/pull/3#issuecomment-1140277517
AFAICT
1.10
is not strictly necessary.