Support GHC 9.4

This commit is contained in:
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