Closed yghor closed 9 years ago
I'm running on Ubuntu 14.04 LTS with stack.yaml
pointing to lts-3.8
.
Sublime is on build 3095.
Hi Yghor, this is a result of some upstream changes that I'm in the middle of adapting to (https://github.com/commercialhaskell/stack-ide/issues/81). There is a branch here https://github.com/lukexi/stack-ide-sublime/tree/windows-support that has the first part of the adaptation (it's a bit slow at the moment due to the naive way I implemented the first piece). You can give that a try and I'll let you know here as soon as I'm done as well!
Thanks, switching to that branch does solve the problem :smiley: Maybe it's a good option to leave this open until it gets merged in master, so others know what to do meanwhile?
Awesome!! I've merged the branch so I'll go ahead and close this!
When trying to use the IDE with a simple executable target and adding
Main
toother-modules
as instructed, I get an error of multiple defined “Main” modules:Here is the target:
With:
build-type: Simple
. Here are the versions of tools in use:Setup.hs
:source/Main.hs
:Running
stack build
works normally from the command-line.If I change the main module name to something other than
Main
, it stops building:→
Is this a stack-ide problem upstream, or is it the way things are handled here?