@@ -33,6 +33,7 @@ import System.IO (BufferMode (LineBuffering), hSetBuffering)
3333-- | Flags passed in from the command line.
3434data BuildFlags = BuildFlags
3535 { bfEnableTests :: !Bool
36+ , bfEnableHaddock :: !Bool
3637 , bfDoUpload :: !Bool
3738 , bfEnableLibProfile :: !Bool
3839 , bfVerbose :: !Bool
@@ -203,6 +204,7 @@ getPerformBuild buildFlags Settings {..} = PerformBuild
203204 , pbJobs = 8
204205 , pbGlobalInstall = False
205206 , pbEnableTests = bfEnableTests buildFlags
207+ , pbEnableHaddock = bfEnableHaddock buildFlags
206208 , pbEnableLibProfiling = bfEnableLibProfile buildFlags
207209 , pbVerbose = bfVerbose buildFlags
208210 , pbAllowNewer = bfSkipCheck buildFlags