Skip to content

Commit 6c77e7f

Browse files
committed
Do not depend on ghc-prim
1 parent 6ef52e0 commit 6c77e7f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Codec/Compression/Zlib/ByteStringCompat.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import Foreign.ForeignPtr (ForeignPtr)
1414
import GHC.ForeignPtr (plusForeignPtr)
1515
#else
1616
import GHC.ForeignPtr (ForeignPtr(ForeignPtr))
17-
import GHC.Types (Int (..))
18-
import GHC.Prim (plusAddr#)
17+
import GHC.Exts (Int (..), plusAddr#)
1918
#endif
2019

2120
mkBS :: ForeignPtr Word8 -> Int -> Int -> ByteString

zlib.cabal

-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ library
9595

9696
build-depends: base >= 4.3 && < 4.20,
9797
bytestring >= 0.9 && < 0.13
98-
if impl(ghc < 8.0.3)
99-
build-depends: ghc-prim
10098

10199
build-tools: hsc2hs >= 0.67 && < 0.69
102100
-- GHC 7 ships hsc2hs-0.67

0 commit comments

Comments
 (0)