on master help sign in
Conditional build for haskell-docs
e7de727Michael Snoyman
Stackage/Config.hs+10−2
@@ -339,12 +339,20 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
339 ]
339 ]
340
340
341 mapM_ (add "Chris Done") $ words =<<
341 mapM_ (add "Chris Done") $ words =<<
342− [ "ace check-email freenect frisby gd haskell-docs "
342+ [ "ace check-email freenect frisby gd"
343 , "hostname-validate ini lucid osdkeys pdfinfo"
343 , "hostname-validate ini lucid osdkeys pdfinfo"
344− , "pure-io scrobble sourcemap shell-conduit" ]
344+ , "pure-io scrobble sourcemap shell-conduit"
345+ ]
345
346
346 -- https://github.com/nominolo/atto-lisp/issues/15
347 -- https://github.com/nominolo/atto-lisp/issues/15
347 -- present
348 -- present
349+
350+ -- Requires older haddock currently
351+ when (ghcVer /= GhcMajorVersion 7 8 || requireHP) $
352+ mapM_ (add "Chris Done") $ words =<<
353+ [ "haskell-docs"
354+ ]
355+
348 -- TODO: Add hindent and structured-haskell-mode once they've been ported to HSE 1.16.
356 -- TODO: Add hindent and structured-haskell-mode once they've been ported to HSE 1.16.
349
357
350#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)
358#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)