diff --git a/Cabal/Distribution/Simple.hs b/Cabal/Distribution/Simple.hs index b420046cf7312bc73f57a22bb42d3a7a38c3bec4..1ea5717098942c9abcd95c210f6bed951948ef73 100644 --- a/Cabal/Distribution/Simple.hs +++ b/Cabal/Distribution/Simple.hs @@ -668,7 +668,7 @@ autoconfUserHooks preClean = readHook cleanVerbosity cleanDistPref, preInst = readHook installVerbosity installDistPref, preHscolour = readHook hscolourVerbosity hscolourDistPref, - preHaddock = readHook haddockVerbosity haddockDistPref, + preHaddock = readHookWithArgs haddockVerbosity haddockDistPref, preReg = readHook regVerbosity regDistPref, preUnreg = readHook regVerbosity regDistPref }