Revert "Use -Wunused-packages on ghc >= 8.10."
This reverts commit 7a1d0f01e94d115f361ead110b60174bfc732033.
This option gives confusing output when a build is interrupted,
suggesting that packages aren't required when we just didn't
get to the model that requires them.
commita8b2031bb43aaca9b4c5643d8d118166f93041c3
authorJohn MacFarlane <jgm@berkeley.edu>
dateTue 9 Mar 2021, 12:49 (6 years ago)
parenta9a0511
pandoc.cabal−2
@@ -403,8 +403,6 @@ common common-options
403403 -Wincomplete-record-updates
404404 -Wnoncanonical-monad-instances
405405
406− if impl(ghc >= 8.10)
407− ghc-options: -Wunused-packages
408406 if impl(ghc < 8.4)
409407 hs-source-dirs: prelude
410408 other-modules: Prelude