Skip to content

Commit 8d6961c

Browse files
committed
Drop support of GHC < 7
1 parent 372f5ee commit 8d6961c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

zlib.cabal

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ library
8484
other-modules: Codec.Compression.Zlib.Stream,
8585
Codec.Compression.Zlib.ByteStringCompat
8686

87-
if impl(ghc < 7)
88-
default-language: Haskell98
89-
default-extensions: PatternGuards
90-
else
91-
default-language: Haskell2010
87+
default-language: Haskell2010
9288

9389
other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,
9490
DeriveDataTypeable
@@ -97,9 +93,9 @@ library
9793
if impl(ghc >= 7.6)
9894
other-extensions: CApiFFI
9995

100-
build-depends: base >= 4 && < 4.20,
96+
build-depends: base >= 4.3 && < 4.20,
10197
bytestring >= 0.9 && < 0.13
102-
if impl(ghc >= 7.0 && < 8.0.3)
98+
if impl(ghc < 8.0.3)
10399
build-depends: ghc-prim
104100

105101
build-tools: hsc2hs >= 0.67 && < 0.69

0 commit comments

Comments
 (0)