Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Check if doc-index.json exists before reading it #1488

Merged
merged 1 commit into from
May 24, 2022

Conversation

coot
Copy link
Collaborator

@coot coot commented May 24, 2022

No description provided.

@andreasabel
Copy link
Member

@coot @Kleidukos : This fix is great, because cabal haddock --enable-documentation crashes under GHC 9.0/2 for me with an internal error, e.g.:

haddock: internal error: .cabal/store/ghc-9.2.3/rgx-bs-0.94.0.2-390080d4/share/doc/html/doc-index.json: openBinaryFile: does not exist (No such file or directory)

Would be great to have this soon!
Is there a release plan yet for this fix? (I do not see a milestone attached to it...)

@Kleidukos
Copy link
Member

@andreasabel hi, I believe the fix should be bundled with the next Haddock release that GHC will use, alongside with the Hi Haddock patch

@andreasabel
Copy link
Member

Any hope of back-porting to GHC 9.2? (In case they make another minor release.)

@Kleidukos
Copy link
Member

I don't understand this question, the merge target was for GHC 9.2. You should ask the GHC developers

@ulysses4ever
Copy link
Contributor

Right... There was a mention on ghc-devs of 9.2.4 scheduled for the "end of July". https://mail.haskell.org/pipermail/ghc-devs/2022-June/020773.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants