MatrixAI / Haskell-Demo

Haskell Demo Project using Nix

Home Page:https://matrix.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 #-}