summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
index 8177b20fa..bb54ea0f3 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -391,6 +391,7 @@ extractDarcsVersion distFlag =
createDirectoryIfMissing True autogenPath
updateFile versionModulePath $ unlines $
["module "++modname++" where",
+ "{-# NOINLINE darcs_info #-}",
"darcs_info = "++show (either (const (Left ())) Right info)]
where
dist = fromFlagOrDefault "dist" distFlag