[commit: packages/haskeline] master: Only call ghc-pkg trust base on GHC 7.2.1 (00c7d41)
git at git.haskell.org
git at git.haskell.org
Thu Dec 31 22:40:42 UTC 2015
Repository : ssh://git@git.haskell.org/haskeline
On branch : master
Link : http://git.haskell.org/packages/haskeline.git/commitdiff/00c7d41532b625da9848d75c14c2fee58266d36c
>---------------------------------------------------------------
commit 00c7d41532b625da9848d75c14c2fee58266d36c
Author: RyanGlScott <ryan.gl.scott at gmail.com>
Date: Wed Dec 23 18:05:37 2015 -0600
Only call ghc-pkg trust base on GHC 7.2.1
>---------------------------------------------------------------
00c7d41532b625da9848d75c14c2fee58266d36c
.travis.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 5f8f175..b2a294e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
More information about the ghc-commits
mailing list