I'm trying to pawn off Hackage artifact generation to my CI to ease maintenance. When I run cabal haddock --haddock-for-hackage --enable-documentation
locally (via a ghcup install), I get an archive I can upload to Hackage to get the documentation working (it's never generated documentation for me). When I run it on CI, I get the following warning during the workflow (full log):
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: array-0.5.4.0, base-4.15.0.0,
binary-0.8.8.0, bytestring-0.10.12.1, containers-0.6.4.1, deepseq-1.4.5.0,
ghc-bignum-1.0, ghc-boot-th-9.0.1, ghc-prim-0.7.0, mtl-2.2.2, pretty-1.1.3.6,
stm-2.5.0.0, template-haskell-2.17.0.0, text-1.2.4.1, time-1.9.3,
transformers-0.5.6.2, unix-2.7.2.2
...
Warning: StreamPatch.Patch: could not find link destinations for:
- GHC.Types.Type
- GHC.Classes.Eq
- GHC.Classes.==
- GHC.Types.Bool
...