From 3414a69bc8e589a0fbfc52f932f6b7df8d05f365 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 7 Nov 2023 19:36:40 +0100 Subject: Support GHC 9.4 --- lib/SlackBuilder/Download.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/SlackBuilder') diff --git a/lib/SlackBuilder/Download.hs b/lib/SlackBuilder/Download.hs index 7729b0b..2dc503d 100644 --- a/lib/SlackBuilder/Download.hs +++ b/lib/SlackBuilder/Download.hs @@ -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 -- cgit v1.2.3