Commit 6e2fca43 authored by Getty Ritter's avatar Getty Ritter Committed by Mikhail Glushenkov
Browse files

Prevent bootstrap.sh from building haddocks for hackage-security

An outstanding bug in GHC pre-8 causes haddock comments on GADT constructors to fail, which in turn prevents the bootstrapping process from finishing. This works around it by skipping haddocks for hackage-security.

(cherry picked from commit 02a313e9)
parent 4abce53a
...@@ -228,8 +228,9 @@ HASHABLE_VER="1.2.4.0"; HASHABLE_VER_REGEXP="1\." ...@@ -228,8 +228,9 @@ HASHABLE_VER="1.2.4.0"; HASHABLE_VER_REGEXP="1\."
HACKAGE_URL="https://hackage.haskell.org/package" HACKAGE_URL="https://hackage.haskell.org/package"
# Haddock fails for network-2.5.0.0. # Haddock fails for network-2.5.0.0, and for hackage-security for
NO_DOCS_PACKAGES_VER_REGEXP="network-uri-2\.5\.[0-9]+\.[0-9]+" # GHC <8, c.f. https://github.com/well-typed/hackage-security/issues/149
NO_DOCS_PACKAGES_VER_REGEXP="network-uri-2\.5\.[0-9]+\.[0-9]+|hackage-security-0\.5\.[0-9]+\.[0-9]+"
# Cache the list of packages: # Cache the list of packages:
echo "Checking installed packages for ghc-${GHC_VER}..." echo "Checking installed packages for ghc-${GHC_VER}..."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment