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 updateLineDependencyVersion dependencyName = updateLineVariable
$ dependencyName <> "_VERSION" $ dependencyName <> "_VERSION"
updateLineVariable variableName variableValue line updateLineVariable variableName variableValue line
| Text.isSuffixOf (variableName <> "=") line = | Text.isPrefixOf (variableName <> "=") line =
variableName <> "=${" <> variableName <> ":-" <> variableValue <> "}" variableName <> "=${" <> variableName <> ":-" <> variableValue <> "}"
| otherwise = line | otherwise = line

View File

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