Skip to content

Commit

Permalink
Only check -Wunused-package by project
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Apr 6, 2024
1 parent 4282bfe commit fa915e9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions Cabal-syntax/Cabal-syntax.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ library
if impl(ghc >= 8.0) && impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances

-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
-- false positives with GHC 8.10.
if impl(ghc >= 9)
ghc-options: -Wunused-packages

build-tool-depends: alex:alex

exposed-modules:
Expand Down
5 changes: 0 additions & 5 deletions Cabal/Cabal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ library
if impl(ghc >= 8.0) && impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances

-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
-- false positives with GHC 8.10.
if impl(ghc >= 9)
ghc-options: -Wunused-packages

exposed-modules:
Distribution.Backpack.Configure
Distribution.Backpack.ComponentsGraph
Expand Down
5 changes: 0 additions & 5 deletions cabal-install-solver/cabal-install-solver.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ library
if impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances

-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
-- false positives with GHC 8.10.
if impl(ghc >= 9)
ghc-options: -Wunused-packages

exposed-modules:
Distribution.Client.Utils.Assertion

Expand Down
5 changes: 0 additions & 5 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ common warnings
if impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances

-- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
-- false positives with GHC 8.10.
if impl(ghc >= 9)
ghc-options: -Wunused-packages

common base-dep
build-depends: base >=4.10 && <4.20

Expand Down

0 comments on commit fa915e9

Please sign in to comment.