Skip to content
Snippets Groups Projects
Commit 1db0547d authored by Ben Gamari's avatar Ben Gamari
Browse files

hadrian: Accept unused imports in filepath

As noted in filepath#241 [1], `filepath-1.4.301.0` is not
`-Werror`-clean.

[1] https://github.com/haskell/filepath/issues/241
parent f4f6c1cd
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ ghcWarningsArgs = do
mconcat
[ stage0 ? mconcat
[ libraryPackage ? pure [ "-fno-warn-deprecated-flags" ]
, package filepath ? pure [ "-fno-warn-unused-imports" ]
, package terminfo ? pure [ "-fno-warn-unused-imports" ]
, package transformers ? pure [ "-fno-warn-unused-matches"
, "-fno-warn-unused-imports" ] ]
......@@ -38,6 +39,7 @@ ghcWarningsArgs = do
, package directory ? pure [ "-Wno-unused-imports"
, "-Wno-deprecations" -- https://gitlab.haskell.org/ghc/ghc/-/issues/24240
]
, package filepath ? pure [ "-fno-warn-unused-imports" ]
, package ghc ? pure [ "-Wcpp-undef"
, "-Wincomplete-uni-patterns"
, "-Wincomplete-record-updates"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment