]> gitweb.michael.orlitzky.com - mailbox-count.git/commitdiff
mailbox-count.cabal: simplify a bit by assuming ghc-8.x or newer.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Aug 2022 01:02:08 +0000 (21:02 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Aug 2022 01:02:08 +0000 (21:02 -0400)
mailbox-count.cabal

index 47af6ad9e78b24ff4fba959b2bc6c0db18928f4d..f43282b3a79cd8bcdad0f2d791e0730d9bd066f1 100644 (file)
@@ -153,7 +153,7 @@ description:
 
 executable mailbox-count
   build-depends:
-    base                        >= 4.8 && < 5,
+    base                        >= 4.9 && < 5,
     cmdargs                     >= 0.10,
     configurator                >= 0.2,
     containers                  >= 0.5,
@@ -165,10 +165,6 @@ executable mailbox-count
     MissingH                    >= 1.2,
     tasty                       >= 0.8,
     tasty-hunit                 >= 0.8
-  -- Data.Semigroup was added to GHC.Base in ghc-8.0
-  if impl(ghc < 8.0)
-     -- The minor version 0.18.2 deleted the entire API?
-     build-depends: semigroups < 0.18.2
 
   main-is:
     Main.hs
@@ -204,7 +200,7 @@ test-suite testsuite
     Report
 
   build-depends:
-    base                        >= 4.8 && < 5,
+    base                        >= 4.9 && < 5,
     cmdargs                     >= 0.10,
     configurator                >= 0.2,
     containers                  >= 0.5,
@@ -216,10 +212,6 @@ test-suite testsuite
     MissingH                    >= 1.2,
     tasty                       >= 0.8,
     tasty-hunit                 >= 0.8
-  -- Data.Semigroup was added to GHC.Base in ghc-8.0
-  if impl(ghc < 8.0)
-     -- The minor version 0.18.2 deleted the entire API?
-     build-depends: semigroups < 0.18.2
 
 
 test-suite doctests
@@ -227,7 +219,7 @@ test-suite doctests
   hs-source-dirs: test
   main-is: Doctests.hs
   build-depends:
-    base      >= 4.8 && < 5,
+    base      >= 4.9 && < 5,
     -- Additional test dependencies.
     doctest   >= 0.9,
     filemanip >= 0.3.6