summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-03-06 13:40:36 +0100
committerEugen Wissner <belka@caraus.de>2024-03-06 15:08:01 +0100
commitcd28e6fb901771f91a95d4567c2505212bc29a91 (patch)
tree76148180b6ee14da5e6d390274d267fd63b40148 /lib
parent16c70632242f00ac424601426575feb9ea523b75 (diff)
downloadslackbuilder-cd28e6fb901771f91a95d4567c2505212bc29a91.tar.gz
Switch to the haskell image
Diffstat (limited to 'lib')
-rw-r--r--lib/SlackBuilder/Info.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SlackBuilder/Info.hs b/lib/SlackBuilder/Info.hs
index 3e0c839..7617e15 100644
--- a/lib/SlackBuilder/Info.hs
+++ b/lib/SlackBuilder/Info.hs
@@ -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"