-
Notifications
You must be signed in to change notification settings - Fork 17
Set everything to use specific ghc version #34
Comments
The fix was to tick under the atom ide haskell plugin settings: |
Nope. I was wrong, that didn't fix it. That just stopped HIE from starting up. Spinner at the bottom. |
Affects me too, throws the following in the project based on LTS-12.10:
|
Yes, that's unfortunate consequence how HIE works. The easiest fixes are: a) upgrade your project to LTS-12.18 |
@domenkozar are you saying hies matching HIE's |
It can be, as long as GHC versions match exactly. |
Could you maybe try doing that, as the, um, repository owner? Like, fix derivations to populate and build same |
@develop7 I'm telling you need to upgrade from LTS-12.10 to LTS-12.18, did you try that? |
@domenkozar thank you for the advice, but no, I did not: because it's a bit less than trivial for the target project and the said project is migrating to nix anyway. |
In that case you can use 96af698 which supported GHC 8.4.3 |
@domenkozar I set:
which is the base package for ghc 8.4.4 Then I made sure that ghc 8.4.4 was on path. Did a cabal clean, cabal configure just in case.
I do have the latest hie installed so I thought it might work following your instructions above for @develop7 |
In the end what worked for me in addition to above steps was to go to ide-haskell-hie settings and set absolute path to hie executable to be: hie-8.4 But ghc-mod is very flaky, types on hover die after the first repl reload. |
I downgraded to ghc 822 and it works fine. 👍 |
Following the issues encountered in: haskell/haskell-ide-engine#947 Which resulted in having to downgrade everything to ghc822.
How can someone set everything to work with a specific ghc version? In the example above even though I had installed both hies it used the 822 version instead of the 843 version.
The text was updated successfully, but these errors were encountered: