aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Setup.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Setup.hs b/Setup.hs
index 4a08fdd84..b7fe4f7b5 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -8,9 +8,7 @@ import System.IO (readFile, writeFile)
import Control.Monad (foldM)
import Data.List (isPrefixOf)
-main = defaultMainWithHooks myHooks
-
-myHooks = defaultUserHooks { postConf = myPostConf }
+main = defaultMainWithHooks $ simpleUserHooks { postConf = myPostConf }
pandocPath = combine "Text" "Pandoc"