-
Notifications
You must be signed in to change notification settings - Fork 698
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
Add --ignore-project to v2-build #7057
Comments
This is great. Would be nice for other cabal subcommands as well, i.e. cabal v2-haddock |
I'll throw in another vote of support for this feature. |
+1 |
I looked a little bit into it. Quick notes.
So, it'd seem like an interesting experiment to remove the
in a directory with both a cabal file and a project file. It seems like
No wonder we get the error about no |
@bacchanalia this code (#7057 (comment)) intersects with the parts you wrote in the scripts revamp (#7851). Do you think you could look into supporting |
@ulysses4ever what do you mean by supporting project files for scripts? |
@bacchanalia see #8562 (comment) and the following discussion |
A possible workaround is to use |
@philderbeast It only works if you don't have a project file in the current directory, which you often do. But that's a fair point. |
E.g. to prevent looking
cabal.project
somewhere up in the directory treeThe text was updated successfully, but these errors were encountered: