aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-09 12:34:01 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-09 12:34:36 -0800
commit7a1d0f01e94d115f361ead110b60174bfc732033 (patch)
treece3db5eb84d8218b583c894a550eb95b64633d30
parentd7f8fbf04b3d58b6b10d1a8db32c3c7e50b614c1 (diff)
downloadpandoc-7a1d0f01e94d115f361ead110b60174bfc732033.tar.gz
Use -Wunused-packages on ghc >= 8.10.
-rw-r--r--pandoc.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index d6c463786..5df9f734e 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -404,6 +404,8 @@ common common-options
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
+ if impl(ghc >= 8.10)
+ ghc-options: -Wunused-packages
if impl(ghc < 8.4)
hs-source-dirs: prelude
other-modules: Prelude