diff --git a/Cabal-syntax/Cabal-syntax.cabal b/Cabal-syntax/Cabal-syntax.cabal index db2a52c114e..a6bdd769d5f 100644 --- a/Cabal-syntax/Cabal-syntax.cabal +++ b/Cabal-syntax/Cabal-syntax.cabal @@ -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: diff --git a/Cabal/Cabal.cabal b/Cabal/Cabal.cabal index cbb468c69c3..c264a39ad14 100644 --- a/Cabal/Cabal.cabal +++ b/Cabal/Cabal.cabal @@ -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 diff --git a/cabal-install-solver/cabal-install-solver.cabal b/cabal-install-solver/cabal-install-solver.cabal index 05f19b23cac..86b448ebb89 100644 --- a/cabal-install-solver/cabal-install-solver.cabal +++ b/cabal-install-solver/cabal-install-solver.cabal @@ -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 diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index ba89665e673..1752d8a2455 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -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