Skip to content

Commit 94aef6a

Browse files
committed
Only check -Wunused-package by project
1 parent 4a443bf commit 94aef6a

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
@@ -53,11 +53,6 @@ library
5353
if impl(ghc >= 8.0) && impl(ghc < 8.8)
5454
ghc-options: -Wnoncanonical-monadfail-instances
5555

56-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
57-
-- false positives with GHC 8.10.
58-
if impl(ghc >= 9)
59-
ghc-options: -Wunused-packages
60-
6156
build-tool-depends: alex:alex
6257

6358
exposed-modules:

Cabal/Cabal.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
exposed-modules:
6863
Distribution.Backpack.Configure
6964
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
@@ -45,11 +45,6 @@ common warnings
4545
if impl(ghc < 8.8)
4646
ghc-options: -Wnoncanonical-monadfail-instances
4747

48-
-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
49-
-- false positives with GHC 8.10.
50-
if impl(ghc >= 9)
51-
ghc-options: -Wunused-packages
52-
5348
common base-dep
5449
build-depends: base >=4.10 && <4.20
5550

0 commit comments

Comments
 (0)