We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
I want to specify ghc-options for all local packages
According to the documentation,
They can be specified at the top-level, in which case they apply only to local package https://cabal.readthedocs.io/en/3.6/cabal-project.html#package-configuration-options
(Why singular, by the way?)
And I get
Warning: .../cabal.project: Unrecognized field 'ghc-options' on line 13
To Reproduce Steps to reproduce the behavior:
-- cabal.project ghc-options: -Werror
Expected behavior -Werror applied to all local packages and not applied to dependencies.
-Werror
System information
The text was updated successfully, but these errors were encountered:
oh, it's a known bug #3579
Sorry, something went wrong.
fixed in master; not fixed in production
Yes, it looks so. Please install cabal 3.8 pre-release (https://discourse.haskell.org/t/cabal-3-8-pre-released/4631/1) and kindly confirm it's fixed for you. If so, let's close as fixed (we don't wait until fixes are released).
Optimistically closing as fixed. @cblp: pretty please, make sure to alert us if that's not the case.
only want to stress you can't use ghc-options directly at top-level but under program-options section
No branches or pull requests
Describe the bug
I want to specify ghc-options for all local packages
According to the documentation,
(Why singular, by the way?)
And I get
To Reproduce
Steps to reproduce the behavior:
Expected behavior
-Werror
applied to all local packages and not applied to dependencies.System information
The text was updated successfully, but these errors were encountered: