Describe the bug
cabal check complains about -Werror even if it is set in the cabal.project file
Expected behavior
Given that -Werror is only bad if it is part of the .cabal file uploaded to Hackage, setting it in the cabal.project file should not trigger the bug.
System information
This is cabal-3.6.2.0 from ghcup via haskell-ci.
Additional context
In my case the cabal.project is created by haskell-ci when using
haskell-ci regenerate --local-ghc-options -Werror
which I tought might be a good way to get -Werror active on CI without affecting the Hackage releases.
(This is a minor thing of course, but still worth noting down.)
Describe the bug
cabal checkcomplains about-Werroreven if it is set in thecabal.projectfileExpected behavior
Given that
-Werroris only bad if it is part of the.cabalfile uploaded to Hackage, setting it in thecabal.projectfile should not trigger the bug.System information
This is
cabal-3.6.2.0from ghcup viahaskell-ci.Additional context
In my case the
cabal.projectis created byhaskell-ciwhen usingwhich I tought might be a good way to get
-Werroractive on CI without affecting the Hackage releases.(This is a minor thing of course, but still worth noting down.)