Skip to content

Commit

Permalink
Bump bounds to build with GHC 9.8 (Stackage nightly-2024-07-22)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Jul 23, 2024
1 parent 59080c4 commit b303889
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions HaskellNet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ Library
Network.Mail.Mime

Build-Depends:
base >= 4.3 && < 4.19,
base >= 4.3 && < 4.20,
network >= 2.6.3.1 && < 3.2,
mtl >= 2.2.2 && < 2.4,
bytestring >=0.10.2 && < 0.12,
bytestring >=0.10.2 && < 0.13,
pretty >= 1.1.3 && < 1.2,
array >= 0.5 && < 0.6,
cryptohash-md5 >= 0.11 && < 0.12,
base64 < 0.5,
base64 < 1.1,
old-time >= 1.0 && < 1.2,
mime-mail >= 0.4 && < 0.6,
text >= 1.0 && < 3
Expand Down
7 changes: 1 addition & 6 deletions src/Network/HaskellNet/Auth.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@ b64Encode = T.unpack . encode . T.pack

b64Decode :: String -> String
b64Decode = T.unpack . decode . T.pack
where decode =
#if MIN_VERSION_base64(0,5,0)
B64.decodeBase64Lenient . B64.assertBase64
#else
B64.decodeBase64Lenient
#endif
where decode = B64.decodeBase64Lenient

showOctet :: [Word8] -> String
showOctet = concatMap hexChars
Expand Down

0 comments on commit b303889

Please sign in to comment.