Skip to content

Commit

Permalink
Do not depend on ghc-prim
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Oct 30, 2023
1 parent 6ef52e0 commit 6c77e7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions Codec/Compression/Zlib/ByteStringCompat.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import Foreign.ForeignPtr (ForeignPtr)
import GHC.ForeignPtr (plusForeignPtr)
#else
import GHC.ForeignPtr (ForeignPtr(ForeignPtr))
import GHC.Types (Int (..))
import GHC.Prim (plusAddr#)
import GHC.Exts (Int (..), plusAddr#)
#endif

mkBS :: ForeignPtr Word8 -> Int -> Int -> ByteString
Expand Down
2 changes: 0 additions & 2 deletions zlib.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ library

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

build-tools: hsc2hs >= 0.67 && < 0.69
-- GHC 7 ships hsc2hs-0.67
Expand Down

0 comments on commit 6c77e7f

Please sign in to comment.