haskell / hie-bios

Set up a GHC API session for various Haskell Projects
https://hackage.haskell.org/package/hie-bios
BSD 3-Clause "New" or "Revised" License
181 stars 63 forks source link

Fix `cabal check` #442

Open fendor opened 1 month ago

fendor commented 1 month ago
$ cabal check                                                                                                                                                                    
These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On library, these packages miss upper bounds:
- template-haskell
Please add them. There is more information at https://pvp.haskell.org/
Warning: [missing-upper-bounds] On executable 'hie-bios', these packages miss
upper bounds:
- optparse-applicative
Please add them. There is more information at https://pvp.haskell.org/
The following errors will cause portability problems on other environments:
Error: [no-autogen-paths] Packages using 'cabal-version: 2.0' and the
autogenerated module Paths_* must include it also on the 'autogen-modules'
field besides 'exposed-modules' and 'other-modules'. This specifies that the
module does not come with the package and is generated on setup. Modules built
with a custom Setup.hs script also go here to ensure that commands like sdist
don't fail.
Error: Hackage would reject this package.