Commit 00c7d415 authored by Ryan Scott's avatar Ryan Scott
Browse files

Only call ghc-pkg trust base on GHC 7.2.1

parent 4b007b03
......@@ -28,7 +28,9 @@ before_install:
install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- ghc-pkg trust base # To avoid a SafeHaskell bug on GHC 7.2.1
- if [ "$GHCVER" = "7.2.1" ]; then
sudo ghc-pkg trust base; # To avoid a SafeHaskell bug on GHC 7.2.1
fi
- travis_retry cabal update
- cabal install --only-dependencies
- cabal install "Cabal == $CABALVER.*" # Use the same Cabal version for Setup.hs and cabal-install
......
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