-
Notifications
You must be signed in to change notification settings - Fork 843
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
Define cabal flags #417
Comments
That option is for cabal flags, and works for the build, test, and bench On Thu, Jun 25, 2015, 11:00 PM Jakub Ryška notifications@github.com wrote:
|
I have a
If I make changes in the I would expect it to build a new executable or fail with compile error but it does not. Am I running the command that should meet my expectations? If yes then it looks like a bug and I'll attach the |
That may be #365 affecting you. Can you run |
It looks like that this is different at least I tried to do the same steps with the current master:
but it's behaving the same. Running the Will making a reproducable repo like the issue reporter in #365 did help here? |
Absolutely, that would be very helpful. Something minimal that could be tested and then added to the integration test suite to check for regression will win you 3 extra Internets. |
Ok, so it was caused by not having Some notes:
|
It's definitely a limitation that we can't discover the necessary modules without using other-modules. We're planning to address it with #105 |
Yes, that would be nice to have, especially for folks transitioning from Anyway, thanks for helping! |
Does stack currently support enabling flags defined in the
.cabal
file? There is a flag option in thestack install
command, but it seems to refer to stack flags rather than to cabal flags.I need it because I use the cabal's
buildable
thing to differ whether to build an executable or not, I control it by runningcabal install -f myflag
.The text was updated successfully, but these errors were encountered: