Closed ghost closed 3 years ago
This isn't directly a problem with haskell.nix, it's just that some of the ecosystem needed to build tools like haskell-language-server, hoogle, etc hasn't yet been updated to support GHC 9.2.1. This particular error is because basement
is a (deep) dependency of hoogle
, and doesn't build on GHC 9.2.1.
If you want to use 9.2.1 you'll have to (for now) avoid using some of those tools. There's also a withHoogle
flag for shells that defaults to true
(so you need to explicitly add withHoogle = false
), but my flake's structure doesn't match the tutorial's one, so I'm not sure where to put it.
I didn't knew withHoogle
defaults to true
. I don't think this is documented and I posted the whole step-by-step script showing 0 occurences of "hoogle" to emphasize I wasn't using it :P.
Of course, it works now. Thanks.
Steps to reproduce:
Error:
It works just by replacing
ghc921
withghc8107