Support GHC 9.4

This commit is contained in:
Eugen Wissner 2023-11-07 19:36:40 +01:00
parent 9770cc8829
commit 3414a69bc8
5 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ updateSlackBuildVersion packagePath version additionalDownloads = do
updateLineDependencyVersion dependencyName = updateLineVariable
$ dependencyName <> "_VERSION"
updateLineVariable variableName variableValue line
| Text.isSuffixOf (variableName <> "=") line =
| Text.isPrefixOf (variableName <> "=") line =
variableName <> "=${" <> variableName <> ":-" <> variableValue <> "}"
| otherwise = line

View File

@ -17,7 +17,7 @@ extra-source-files: CHANGELOG.md
common dependencies
build-depends:
base ^>= 4.16.4.0,
base >= 4.16 && < 5,
bytestring ^>= 0.11.0,
containers ^>= 0.6,
cryptonite >= 0.30,
@ -77,7 +77,7 @@ executable slackbuilder
slackbuilder,
unordered-containers ^>= 0.2.19,
vector ^>= 0.13.0
hs-source-dirs: app
hs-source-dirs: src
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall