mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-09-11 13:37:36 +03:00
[Chore] Add version constraint to base
Problem: `stack sdist` fails with the following message when there are no version constraints on `base`: > Package check reported the following errors: > The dependency 'build-depends: base' does not specify an upper bound on the version number. Each major release of the 'base' package changes the API in various ways and most packages will need some changes to compile with it. The recommended practice is to specify an upper bound on the version of the 'base' package. This ensures your package will continue to build when a new major version of the 'base' package is released. If you are not sure what upper bound to use then use the next major version. For example if you have tested your package with 'base' version 4.5 and 4.6 then use 'build-depends: base >= 4.5 && < 4.7'. Solution: Add a version constraint to `base`.
This commit is contained in:
parent
efd7dfd4d2
commit
4e9294fbb7
@ -66,7 +66,7 @@ ghc-options:
|
||||
- -Wno-monomorphism-restriction
|
||||
|
||||
dependencies:
|
||||
- base
|
||||
- base >=4.14.3.0 && <5
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
|
Loading…
Reference in New Issue
Block a user