diff options
| author | John MacFarlane <[email protected]> | 2025-12-12 11:54:19 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-12-12 11:54:19 +0100 |
| commit | 73dd5cc308c569b5ef2d0a6b5a4fbf5398fb919c (patch) | |
| tree | 1b2aea6ce309778fb8b8bb9eee5dd0a66dfc6966 | |
| parent | 0645dead48c6ff70bf45b3209405c3420f09955d (diff) | |
Add `-Wno-deriving-typeble` to cabal ghc-options for ghc >= 9.12.
| -rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
| -rw-r--r-- | pandoc.cabal | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 650997d9b..5de152cbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,8 @@ jobs: cabalopts: '--ghc-option=-Werror' - ghc: '9.12' cabal: 'latest' - cabalopts: '--ghc-option=-Werror --ghc-option=-Wno-deriving-typeable' + cabalopts: '--ghc-option=-Werror' + steps: - uses: actions/checkout@v6 diff --git a/pandoc.cabal b/pandoc.cabal index c0cdd745c..c20ce410f 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -457,7 +457,7 @@ flag embed_data_files common common-options default-language: Haskell2010 - build-depends: base >= 4.12 && < 5 + build-depends: base >= 4.18 && < 5 ghc-options: -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances @@ -468,12 +468,11 @@ common common-options -Wmissing-signatures -fhide-source-paths -Wmissing-export-lists + -Wunused-packages + -Winvalid-haddock - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - - if impl(ghc >= 9.0) - ghc-options: -Winvalid-haddock + if impl(ghc >= 9.12) + ghc-options: -Wno-deriving-typeable if os(windows) cpp-options: -D_WINDOWS |
