Commit 61d6048b authored by Will Thompson's avatar Will Thompson

Setup: don't use deprecated rewriteFile

parent f49d3ee2
......@@ -46,7 +46,7 @@ writeGetTextConstantsFile pkg lbi flags = do
let pathsModulePath = autogenPackageModulesDir lbi
</> ModuleName.toFilePath (getTextConstantsModuleName pkg) <.> "hs"
rewriteFile pathsModulePath (generateModule pkg lbi)
rewriteFileEx verbosity pathsModulePath (generateModule pkg lbi)
getTextConstantsModuleName :: PackageDescription -> ModuleName
getTextConstantsModuleName pkg_descr =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment