stan icon indicating copy to clipboard operation
stan copied to clipboard

Hackage docs don't build because they use 9.2.4

Open tomjaguarpaw opened this issue 1 year ago • 3 comments

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?

tomjaguarpaw avatar Oct 13 '23 14:10 tomjaguarpaw

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.

mpilgrem avatar Oct 14 '23 16:10 mpilgrem

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.

tomjaguarpaw avatar Oct 14 '23 16:10 tomjaguarpaw

@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.

mpilgrem avatar Oct 14 '23 17:10 mpilgrem