implicit-hie icon indicating copy to clipboard operation
implicit-hie copied to clipboard

`cabal install implicit-hie` command fails for ghc2021 and ghc2024

Open rajcspsg opened this issue 11 months ago • 4 comments

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

rajcspsg avatar Dec 31 '24 05:12 rajcspsg

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.

Avi-D-coder avatar Dec 31 '24 07:12 Avi-D-coder

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.

fendor avatar Jan 05 '25 11:01 fendor

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

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

Avi-D-coder avatar Jan 06 '25 02:01 Avi-D-coder

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

fendor avatar Jan 06 '25 11:01 fendor