Skip to content
New issue

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

Add ghc flags #28

Open
nzhang-zh opened this issue Oct 15, 2020 · 2 comments
Open

Add ghc flags #28

nzhang-zh opened this issue Oct 15, 2020 · 2 comments

Comments

@nzhang-zh
Copy link
Contributor

Specifically unused imports, but also explore other necessary flags.

Also look at Nix's buildStrictly and other overrideCabal options.

@nzhang-zh
Copy link
Contributor Author

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

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Dec 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants