You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI: Downgrade Cabal for GHC 8.10.7 (#2899) (#2902)
Cabal 3.14 silently ignores `haddock-options` in `cabal.project`. The
change is deliberate (though not warning about it probably is not). The
change is documented in some places:
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.14.0.0.mdhttps://github.com/haskell/cabal/blob/master/release-notes/WIP-Cabal-3.12.x.0.mdhaskell/cabal#9177
(Note that the deprecation message apparently never made it to the
release notes)
We should probably think about how to fix this in the future, but for
now rolling back to Cabal 3.12 will allow us to build the documentation
as we want to again. The mentioned `haddock-version-cpp` flag in the
linked cabal PR 9177 above to get a CPP define for
`__HADDOCK_VERSION__` did not work at all for me.
PR #2201 was supposed to update our Haddock generation to 9.0.2 but
accidentally picked 8.10.7 for the uploads to Hackage, which also fixed
issue #2200. I'm careful about upgrading Haddock now as I've experienced
several times now that there were undocumented changes going from one
version to the next that broke some rendering, and carefully rereading
our complete Haddock to scan for such breakage is an impossible task.
One day we'll have to upgrade, when we drop GHC 8.10 from Clash.
(cherry picked from commit 9d94353)
Co-authored-by: Peter Lebbing <[email protected]>
0 commit comments