Skip to content

Commit

Permalink
Mark GHC 8.0 as broken for Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Dec 14, 2019
1 parent 5b3da78 commit c3f08f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Test/Docs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ import System.Info
import Data.Version.Extra


-- Older versions of Haddock garbage the --@ markup and have ambiguity errors
brokenHaddock = compilerVersion < makeVersion [8]
-- Older versions of Haddock (GHC 7.10 and below) garbage the --@ markup and have ambiguity errors
-- GHC 8.0 has a segfault when linking Setup
brokenHaddock = compilerVersion < makeVersion [8,2]

main = testBuild (unless brokenHaddock . defaultTest) $ do
let index = "dist/doc/html/shake/index.html"
Expand Down

0 comments on commit c3f08f9

Please sign in to comment.