diff options
author | Will Thompson <will@willthompson.co.uk> | 2018-07-05 09:54:12 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2018-07-05 09:57:39 +0100 |
commit | 61d6048b6e5a31f46db892c2c0c384d8099c95b0 (patch) | |
tree | 0f7dec05a2548d735cacbd76b101ec3caf35ebb9 | |
parent | f49d3ee288226850b04325f9fb610feb6755bb70 (diff) |
Setup: don't use deprecated rewriteFile
-rw-r--r-- | Setup.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = |