-
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
How can I use --flag with repl command? #2986
Comments
Seems to have moved over to |
Then, should I use `stack build --flag PACKAGE:FLAG --exec "ghci Main.hs"? |
There was a significant refactoring of build arguments a while back (in order to support including build arguments in |
I've just bisected and found the commit 3347bcb. But I can't determine whether it is intended. |
/cc @mgsloan? |
Hmm, yes, that was an unintended consequence of that change. Most of the things in BuildOptsCLI aren't useful for ghci, but |
I checked
stack repl --flag package:flag
works on stack v1.1.0, but now it seems that v1.3.2 reject it as invalid flag.What's an alternative to this?
The text was updated successfully, but these errors were encountered: