-
Notifications
You must be signed in to change notification settings - Fork 9
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
Provide a way to specify different ghc options for dependencies #16
Comments
@jgm thanks for raising the issue and for the feedback. I am aware of this issue, this shows only in
I can try what you suggested. It would be nice if cabal itself supported a flag that passes ghc options only to the local packages and not dependencies. I am not really familiar with all of cabal's options. @hvr would you have an idea how to solve this in a nice way? |
@jgm using |
Seems tedious to have to maintain two separate cabal.project files, one for local builds and one for CI. |
See #43 , that might solve this in a better way. |
If I do
then the build fails because of warnings compiling some of the dependencies. I'd like to be able to specify
-Werror
for the local build only, and not for the dependencies. This would require a two-phase build, first withcabal new-build --dependencies-only
, and the ability to specify different options for the dependencies and the local build. (Or is there another way to work around this?)(Great project, by the way! Aside from this issue, it is what I have been dreaming of.)
The text was updated successfully, but these errors were encountered: