Skip to content

Commit 94f8f10

Browse files
committed
restrict haddock < 2.14 due to GHC version issues
Haddock versions >= 2.14 are failing to install with GHC 7.6.*: ``` Preprocessing library haddock-2.14.2... src/Haddock/InterfaceFile.hs:85:2: error: #error Unsupported GHC version ``` and with 7.4 `src/Haddock/Parser.hs:5:14: Unsupported extension: LambdaCase`
1 parent 539f999 commit 94f8f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install-deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $CABAL update\
22
&& $CABAL install alex happy cpphs -j$NUM_CPU\
33
&& if ! [[ $GHCVER == "head" || -n $SKIP_HADDOCK ]]
44
then
5-
$CABAL install haddock -j$NUM_CPU
5+
$CABAL install 'haddock < 2.14' -j$NUM_CPU
66
fi\
77
&& if ! [[ -z "$EXTRA_DEPS_PRE" ]]
88
then

0 commit comments

Comments
 (0)