-
Notifications
You must be signed in to change notification settings - Fork 175
Stack + GHCJS #782
Comments
Nope it looks on the same paths that Also ghc-mod doesn't support ghcjs so be careful. |
Yes, sorry I should have been more clear. Rather than using |
Ah, ok. See the thing is since we don't support ghcjs no such logic is implemented and I don't see any point in adding this unless we actually work with ghcjs at all, right? Not to mention that the See #654 for some discussion about implementing ghcjs support. |
Interesting. I think the "point" would be a novel level of correctness, since, theoretically, stack could always use a compiler not named "ghc", even if it's a host compiler. But this isn't actually a problem (stack currently only ever looks for ghc or ghcjs), and it's not solving the actual problems you mentioned. |
When running ghc-mod using Stack in a GHCJS project, it fails to find
ghc
with this error:This function just searches for
ghc
on the path, but it needs to be usingstack ghc
.Here's my
stack.yaml
.The text was updated successfully, but these errors were encountered: