Open
Description
--ghc-options
overrides ghc-options
in component configuration but doesn't override OPTIONS_GHC
in the module.
When I want to test my package, I run stack test --pedantic
.
When I want to disable some warnings for a single module, I put OPTIONS_GHC in it.
When I want to disable some warnings for a single component, I can't do this! Component configuration can't override command-line options!
$ stack --version
Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e (4861 commits) x86_64 hpack-0.17.1