haskell.nix
haskell.nix copied to clipboard
Fix hls build for ghc 9.2
This adds flags: -haddockcomments to the default cabal.project of haskell-language-server to fix building on ghc 9.2
Is this an upstream issue?
I think it is covered by https://github.com/haskell/haskell-language-server/issues/2982
I don't understand why HLS isn't broken in the same way, then.
Since they just have the one cabal.project without this flag, now.
It looks this guard against building with 9.2 https://github.com/haskell/haskell-language-server/blob/e55004a0cc9b727423a16cec4f5103a4df685eb6/plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal#L21-L24 is not in hackage https://hackage.haskell.org/package/hls-haddock-comments-plugin-1.0.1.0/hls-haddock-comments-plugin.cabal
Ah, maybe that snuck in on master only.
bors try
bors try