Closed teto closed 7 months ago
Looks like implicit-hie
messing up, adding a hie.yaml
with an empty cradle fixes it. So since we got rid of implicit-hie
in the latest release I think this should be fixed now.
thanks for having looked into it ! Would you mind sharing your hie.yaml ? I haven't written one in a long time so I am kinda rusty. I tried to fetch the latest release from HLS's flake but apparently it doesn't provide any packages, just the devShells ? Sad :'( I suppose it was just too hard to maintain.
The usual
cradle:
cabal:
I suppose it was just too hard to maintain.
We have had no shortage of people who want to set up various sorts of nix stuff in the repository, but none who want to stick around and maintain it ;)
Thank you very much that solved it !
We have had no shortage of people who want to set up various sorts of nix stuff in the repository, but none who want to stick around and maintain it ;)
I used to be one of those fools trying to provide nix packages for different versions of ghc but haskell is high maintainence, with libraries lagging a lot behind latest ghc. I totally get why those got removed no problem.
Your environment
I've forked selda (an abstraction layer around postgres/sqlite) to add a feature, and tried adding HLS support. If I
git clone https://github.com/teto/selda.git -b array
, then runnix develop
, haskell-language-server is lost for some reason.The module exists in exposed-modules though ?
Which OS do you use? nixos
Which version of GHC do you use and how did you install it? 9.6.3 from nixpkgs
How is your project built (alternative: link to the project)? cabal
Which LSP client (editor/plugin) do you use? neovim+haskell-tools.nvim
Which version of HLS do you use and how did you install it?
Have you configured HLS in any way (especially: a
hie.yaml
file)? Nope, the implicit cradle have been working fine for some time nowDebug information