-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
-DGHCJS_BROWSER
flag for stack build doesn't do anything
#2732
Comments
The 1st log looks like a build that has no work to do, because it had probably already been built. The 2nd log contains a configure invocation Ghc-options are indeed not yet handled perfectly. It is not currently possible to reliably apply a flag to every single package involved in the build. See #849 I hesitate to recommend this as it might be a big waste of time, but if you wipe away your ghc-options:
"*": -DGHCJS_BROWSER It should work out. |
Because deleting
|
ok, so |
For me this looks like a bug, when a flag works in |
I was trying to go through the tutorial http://edsko.net/2015/02/14/atom-haskell/ with stack instead of ghcjs. The Issue ghcjs/ghcjs#302 describing ghcjs not working with Atom if it is used without
-DGHCJS_BROWSER
is still open so it is not possible to write ghcjs Atom plugins using stack.Steps to reproduce
For minimal example - "hello world" program - comparision
all.js
outputs created with and without-DGHCJS_BROWSER
flag doesn't show any difference.I was also adding
into stack.yaml file:
Stack version
Method of installation
brew
The text was updated successfully, but these errors were encountered: