aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-12-12 11:54:19 +0100
committerJohn MacFarlane <[email protected]>2025-12-12 11:54:19 +0100
commit73dd5cc308c569b5ef2d0a6b5a4fbf5398fb919c (patch)
tree1b2aea6ce309778fb8b8bb9eee5dd0a66dfc6966 /pandoc.cabal
parent0645dead48c6ff70bf45b3209405c3420f09955d (diff)
Add `-Wno-deriving-typeble` to cabal ghc-options for ghc >= 9.12.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal11
1 files changed, 5 insertions, 6 deletions
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