summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2018-07-05 09:54:12 +0100
committerWill Thompson <will@willthompson.co.uk>2018-07-05 09:57:39 +0100
commit61d6048b6e5a31f46db892c2c0c384d8099c95b0 (patch)
tree0f7dec05a2548d735cacbd76b101ec3caf35ebb9
parentf49d3ee288226850b04325f9fb610feb6755bb70 (diff)
Setup: don't use deprecated rewriteFile
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index 9154f56..dd86bba 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -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 =