Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal install implicit-hie command fails for ghc2021 and ghc2024 #57

Open
rajcspsg opened this issue Dec 31, 2024 · 4 comments
Open

cabal install implicit-hie command fails for ghc2021 and ghc2024 #57

rajcspsg opened this issue Dec 31, 2024 · 4 comments

Comments

@rajcspsg
Copy link

Hi,

I'm trying to setup haskell IDE in neovim.

I would like to generate hie.yaml file using implicit-hie https://hackage.haskell.org/package/implicit-hie.

I can only install (cabal install implicit-hie) for cabal project and Haskell 2010 version.

The above command fails for GHC2021 and GHC2024.

Steps to recreate -

  1. cabal init new-project
  2. choose Haskell2010
  3. Run cabal install implicit-hie

This is should work fine.

  1. cabal init new-project
  2. choose GHC2021
  3. Run cabal install implicit-hie
    This should fail
@Avi-D-coder
Copy link
Owner

I am not sure implicit-hie is needed with hls these days.
I believe the automatic cabal cradle hls uses should just work.
What issues are you running into using hls without a hie.yaml file?

If you do need it to work with modern Haskell PRs welcome.

@fendor
Copy link
Collaborator

fendor commented Jan 5, 2025

Hi!

Fyi, implicit-hie is still used by HLS for stack cradles. If you are not using stack, implicit-hie shouldn't be necessary any more.

@Avi-D-coder
Copy link
Owner

Fyi, implicit-hie is still used by HLS for stack cradles.

Oh shoot, I'll try and upgrade it then.

@fendor
Copy link
Collaborator

fendor commented Jan 6, 2025

No hurry from the HLS side, if it had been a blocker for HLS, we would have provided PRs already!

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

No branches or pull requests

3 participants