Add ghc flags
nzhang-zh opened this issue · comments
Specifically unused imports, but also explore other necessary flags.
Also look at Nix's buildStrictly
and other overrideCabal
options.
May I suggest turning buildStrictly
back on rather than specifying individual flags?
And maybe use per file pragmas for source files that should be exempt from certain warnings.
e.g. {-# OPTIONS_GHC -fno-warn-orphans #-}
Yea if you try, see why our ci/cd is failing too.
…On 1 December 2020 9:44:33 am AEDT, nzhang-zh ***@***.***> wrote:
May I suggest turning `buildStrictly` back on rather than specifying
individual flags?
And maybe use per file pragmas for source files that should be exempt
from certain warnings.
e.g. `{-# OPTIONS_GHC -fno-warn-orphans #-}`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#28 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.