-
Notifications
You must be signed in to change notification settings - Fork 718
Open
Description
Try (with clean store)
cabal haddock --enable-documentation
build succeeds.
Then
cabal haddock --enable-documentation --haddock-for-hackage
then fails with e.g.
haddock: internal error: /cabal/store/ghc-9.2.5/lattices-2.1-d73b3b45d6e9cfdff466bcdd682b8b68f15a545af43b3b9dea31c352516883bc/share/doc/html/doc-index.json: openBinaryFile: does not exist (No such file or directory)
Apparently also dependencies need to be be built differently when haddock flag changes.
However, if I try
cabal haddock --enable-documentation --haddock-quickjump
Then the dependencies are rebuilt.