Skip to content

Commit

Permalink
Bring a Haddock version check in line with message
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnicol committed May 9, 2014
1 parent e417655 commit ab664d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple/Haddock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ haddock pkg_descr lbi suffixes flags = do
let isVersion2 = version >= Version [2,0] []

when ( flag haddockHoogle
&& version > Version [2] []
&& version >= Version [2] []
&& version < Version [2,2] []) $
die "haddock 2.0 and 2.1 do not support the --hoogle flag."

Expand Down

0 comments on commit ab664d8

Please sign in to comment.