Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
So I built ghcide using stack for my project which uses GHC 8.10.1 as I was unable to resolve issues with 8.8.3.
I start a new stack project which gives me the lts-16.1 resolver and I add ghc-8.10.1 as the compiler in my stack.yaml:
lts-16.1
ghc-8.10.1
stack.yaml
resolver: lts-16.1 compiler: ghc-8.10.1
ghcide boots up fine in the environment and works great, compiling works fine but I get this warning:
Warning: Failed to decode module interface: C:\Users\foo\Project\bar\.stack-work\dist\a3a5fe88\build\Lib.hi Decoding failure: Invalid magic: e49ceb0f
I tried a stack clean but to know avail: anyone know what's happening here? Is it just because of the compiler vs. lts?
stack clean
https://github.com/commercialhaskell/stack/issues/5134
So I built ghcide using stack for my project which uses GHC 8.10.1 as I was unable to resolve issues with 8.8.3.
I start a new stack project which gives me the
lts-16.1
resolver and I addghc-8.10.1
as the compiler in mystack.yaml
:ghcide boots up fine in the environment and works great, compiling works fine but I get this warning:
I tried a
stack clean
but to know avail: anyone know what's happening here? Is it just because of the compiler vs. lts?https://github.com/commercialhaskell/stack/issues/5134