Skip to content

Commit

Permalink
Clean up hedgehog.cabal for GHC 8.0+ (#391)
Browse files Browse the repository at this point in the history
Since we have dropped support for GHC 7.10, the redundant packages `fail` and `semigroups` can be removed now. The additional warning is also included in `-Wall`.
  • Loading branch information
felixonmars authored Sep 10, 2020
1 parent b2f038a commit a30613a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hedgehog/hedgehog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ library
, directory >= 1.2 && < 1.4
, erf >= 2.0 && < 2.1
, exceptions >= 0.7 && < 0.11
, fail >= 4.9 && < 5
, lifted-async >= 0.7 && < 0.11
, mmorph >= 1.0 && < 1.2
, monad-control >= 1.0 && < 1.1
Expand All @@ -69,7 +68,6 @@ library
, primitive >= 0.6 && < 0.8
, random >= 1.1 && < 1.2
, resourcet >= 1.1 && < 1.3
, semigroups >= 0.16 && < 0.20
, stm >= 2.4 && < 2.6
, template-haskell >= 2.10 && < 2.17
, text >= 1.1 && < 1.3
Expand All @@ -81,9 +79,6 @@ library
ghc-options:
-Wall

if impl(ghc >= 8.0)
ghc-options: -Wnoncanonical-monad-instances

hs-source-dirs:
src

Expand Down Expand Up @@ -148,7 +143,6 @@ test-suite test
, mmorph >= 1.0 && < 1.2
, mtl >= 2.1 && < 2.3
, pretty-show >= 1.6 && < 1.11
, semigroups >= 0.16 && < 0.20
, text >= 1.1 && < 1.3
, transformers >= 0.3 && < 0.6

Expand Down

0 comments on commit a30613a

Please sign in to comment.