kowainik / stan

🕵️ Haskell STatic ANalyser
https://kowainik.github.io/projects/stan
Mozilla Public License 2.0
562 stars 48 forks source link

Hackage docs don't build because they use 9.2.4 #519

Open tomjaguarpaw opened 8 months ago

tomjaguarpaw commented 8 months ago

We don't support 9.2.4 (because the GHC API seems to provide dodgy information)

https://hackage.haskell.org/package/stan-0.1.0.0/reports/1

Can we get Hackage to build using a different compiler version?

mpilgrem commented 8 months ago

The master branch version of Stack now allows the building of Haddock documentation suitable for Hackage and the uploading of that built documentation to Hackage. It may be of interest to you: see https://github.com/commercialhaskell/stack/issues/6270#issuecomment-1762412561.

tomjaguarpaw commented 8 months ago

Thanks. I could also build the docs with cabal and upload them manually but ideally I'd like to find a way to get Hackage to build them automatically.

mpilgrem commented 8 months ago

@tomjaguarpaw, noted. I suspect the solution is ask the Hackage project to bump the version of GHC that it uses to build Haddock documentation. GHC 9.2.4 is out-of-date even for the GHC 9.2 series.