-
Notifications
You must be signed in to change notification settings - Fork 841
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
Passing cabal flags? #191
Comments
I implemented this on Friday, it's the --flag option:
|
great success |
Can someone give an example of what PACKAGE would be? What would be the stack equivalent of this cabal command:
|
|
I can't see it being passed through.
I'm trying to install threadscope (which requires gtk) on a mac, using stack. The error below is what happens if -fhave-quartz-gtk isn't supplied, which is why I suspect it isn't making it through.
|
This should probably transition to a new issue. Please include the stack version you're using. |
New issue created: #807 |
I comment on this issue because I think it is the most appropriate one instead of creating a new one.
Is this expected? how should I proceed if I want to pass a cabal flag when executing a binary and I want it to be given on the command line (this means that writing it in |
@jasagredo I realize it's probably not the answer you're hoping for, but how about just making this a two-step process using the current functionality? $ stack build --flag package:flag && stack run
^^^^^^^^^^^^ |
@mattaudesse |
For me |
E.g. -fdev for yesod apps. Can I do this?
The text was updated successfully, but these errors were encountered: