-
Notifications
You must be signed in to change notification settings - Fork 846
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
GHCJS stack path not consistent #2436
Comments
I'm surprised you get ghcjs for a ghc project. What's with that? This does seem to be intended behavior. |
If I run
But I want to compile it againts GHCJS, thus the
|
Ah, I see. Strange! Does In order to find your GHCJS packages, they will need to be in the stack configuration - it won't see things you've previously built / installed. |
Yeah having I don't quite understand that I need to have GHCJS in the stack (still new to Haskell/Stack). Does that mean I need to maintain two different My initial understanding was that I can do that by having |
Yeah, actually you don't need a separate stack.yaml, as long as the build with GHC doesn't depend on any packages that are GHCJS-only. Not sure why it wouldn't be able to find |
Closing this, as it's an old support ticket. If you think this is in error, please comment with more info. |
I have two projects, one is a GHC project and the other is GHCJS project.
For the GHCJS project, my
stack.yaml
looks like the normal setup as outlined in Stack's official guide for setting up GHCJS project.Running
stack --compiler ghcjs-0.2.0.20160414_ghc-7.10.3 path
on GHCJS project return,But when running the same command on GHC project, I get
I was expecting to get the same result as running on GHCJS project. Is this an intended behavior?
The text was updated successfully, but these errors were encountered: