Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment