You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.
↪ stack new simple
[...]
↪ cd simple
↪ stack build
simple-0.1.0.0: configure
Configuring simple-0.1.0.0...
simple-0.1.0.0: build
Preprocessing library simple-0.1.0.0...
[1 of 1] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Lib.o )
In-place registering simple-0.1.0.0...
Preprocessing executable 'simple-exe' for simple-0.1.0.0...
[1 of 1] Compiling Main ( app/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/simple-exe/simple-exe-tmp/Main.o )
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/simple-exe/simple-exe ...
simple-0.1.0.0: install
Installing library in
/home/wieland/dev/ghc-mod-test/simple/.stack-work/install/x86_64-linux/lts-3.5/7.10.2/lib/x86_64-linux-ghc-7.10.2/simple-0.1.0.0-1IIGo5ep6Dc2qVkLbojo7S
Installing executable(s) in
/home/wieland/dev/ghc-mod-test/simple/.stack-work/install/x86_64-linux/lts-3.5/7.10.2/bin
Registering simple-0.1.0.0...
↪ ghc-mod boot
ghc-mod: : cannot satisfy -package-id base-4.8.1.0-4f7206fd964c629946bb89db72c80011
(use -v for more information)
GHC in /usr/bin is 7.10.1, I've previously built 7.10.2 for stacks lts-3.5 resolver with stack setup. I think stack itself is using the latter version of GHC to build things.
I've opened #726 for tracking giving better error messages for this case. Spewing errors like this for version mismatches is pretty awful, this took me a while to track down.
Here's what I did:
GHC in /usr/bin is 7.10.1, I've previously built 7.10.2 for stacks
lts-3.5
resolver withstack setup
. I think stack itself is using the latter version of GHC to build things./Edit: Sorry, forgot the output of
ghc-mod debug
:and
ghc-mod --version
:The text was updated successfully, but these errors were encountered: