-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack IDE nearly starts on Windows #92
Comments
Aha, the hardcoded ":"s are pretty clear here : ) (still not sure why ;s aren't working with ghc-pkg though... it works with passing --package-db multiple times as a last resort) |
OK, a little further with this patch I now get this error.
Not quite sure what to make of that yet; the arguments all look fine. |
Aha, ide-backend only expects one --package-db argument and it turns out things work just fine using the platform searchpath separator for the --package-db argument after all. I can start up stack-ide now! It seems to hang here:
|
@dpratt71 thanks for the report in ide-backend — I forgot to post a followup here that if I send a message like |
@lukexi, I made a small fix to the Windows build of
|
@ncreep interesting! I've got this now:
|
@ncreep I can't reproduce your error but I wonder if re-enabling buffering in https://github.com/commercialhaskell/stack-ide/blob/master/stack-ide/src/main/Main.hs#L58 has any effect? (commenting out that line should do the trick) |
@lukexi, even with buffering enabled, I still get the same error. Are you running a 32 or 64 bit machine? |
Hmm weird. I'm on 64bit. I'll see what else I can figure out too! |
@ncreep do you mind opening a second issue for that one, by the way? I've gotten further (nearly all the way!) - after deleting
So it seems to be trying to load Setup.hs as part of the project now. I'm not sure what would cause this... @snoyberg @chrisdone @mgsloan any ideas?? Removing Spec.hs gives:
and removing Setup.hs finally succeeds, giving
and to be sure, introducing a source error works!
So we're super close now : ) |
Oh, awesome news, this was just me being out of date and failing to heed #81 I've tested manually following that and everything works perfectly, so I've just got to update stack-ide-sublime to implement the new scheme. Yahooo and thanks @ncreep for the amazing work on ide-backend - we'll figure out your odd issue next : ) |
Howdy! I'm trying out the rad new ide-backend Windows support. I've gotten stack-ide to build now after updating the ide-backend submodule to the latest (awesome!!) but it fails currently with this error:
What's the proper way to pass multiple package databases to ghc-pkg's --package-db argument on Windows?
I get the same thing with a quoted semicolon:
I'll be super pumped to get this working as I've been nearly entirely diverted to Windows dev recently and have been thus without my beloved stack-ide-sublime : )
The text was updated successfully, but these errors were encountered: