Skip to content

Commit fa915e9

Browse files
committed
Only check -Wunused-package by project
1 parent 4282bfe commit fa915e9

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

Cabal-syntax/Cabal-syntax.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ library
5959
if impl(ghc >= 8.0) && impl(ghc < 8.8)
6060
ghc-options: -Wnoncanonical-monadfail-instances
6161

62-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
63-
-- false positives with GHC 8.10.
64-
if impl(ghc >= 9)
65-
ghc-options: -Wunused-packages
66-
6762
build-tool-depends: alex:alex
6863

6964
exposed-modules:

Cabal/Cabal.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ library
6565
if impl(ghc >= 8.0) && impl(ghc < 8.8)
6666
ghc-options: -Wnoncanonical-monadfail-instances
6767

68-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
69-
-- false positives with GHC 8.10.
70-
if impl(ghc >= 9)
71-
ghc-options: -Wunused-packages
72-
7368
exposed-modules:
7469
Distribution.Backpack.Configure
7570
Distribution.Backpack.ComponentsGraph

cabal-install-solver/cabal-install-solver.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ library
4343
if impl(ghc < 8.8)
4444
ghc-options: -Wnoncanonical-monadfail-instances
4545

46-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
47-
-- false positives with GHC 8.10.
48-
if impl(ghc >= 9)
49-
ghc-options: -Wunused-packages
50-
5146
exposed-modules:
5247
Distribution.Client.Utils.Assertion
5348

cabal-install/cabal-install.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ common warnings
5151
if impl(ghc < 8.8)
5252
ghc-options: -Wnoncanonical-monadfail-instances
5353

54-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
55-
-- false positives with GHC 8.10.
56-
if impl(ghc >= 9)
57-
ghc-options: -Wunused-packages
58-
5954
common base-dep
6055
build-depends: base >=4.10 && <4.20
6156

0 commit comments

Comments
 (0)