From 7a1d0f01e94d115f361ead110b60174bfc732033 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 9 Mar 2021 12:34:01 -0800 Subject: Use -Wunused-packages on ghc >= 8.10. --- pandoc.cabal | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3