Switch to the haskell image
All checks were successful
Build / audit (push) Successful in 14m3s
Build / test (push) Successful in 13m54s

This commit is contained in:
2024-03-06 13:40:36 +01:00
parent 16c7063224
commit cd28e6fb90
2 changed files with 9 additions and 16 deletions

View File

@ -90,8 +90,8 @@ packageName = takeWhile1P Nothing isNameToken
|| x == Word8._underscore
parseInfoFile :: GenParser PackageInfo
parseInfoFile = PackageInfo
<$> (Char8.unpack <$> packagePrgnam)
parseInfoFile = PackageInfo . Char8.unpack
<$> packagePrgnam
<*> (Text.decodeUtf8 <$> variableEntry "VERSION")
<*> (Text.decodeUtf8 <$> variableEntry "HOMEPAGE")
<*> packageDownloads "DOWNLOAD"