Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

.travis.yml: recache the user package DB after installing GHC.

Should fix occasional DeterministicAr failures we're having.
  • Loading branch information...
commit a573d4ba73b403b85ae6e80364841fbbf011f545 1 parent 193c49c
@23Skidoo 23Skidoo authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  .travis.yml
1  .travis.yml
@@ -17,6 +17,7 @@ before_install:
- sudo /opt/ghc/$GHCVER/bin/ghc-pkg recache
+ - /opt/ghc/$GHCVER/bin/ghc-pkg recache --user
- cabal-1.18 update
- cd Cabal
- cabal-1.18 install --only-dependencies --enable-tests --enable-benchmarks

1 comment on commit a573d4b


Just for the record, I've fixed the pkg db out-of-date warning for GHC 7.8.2 and GHC HEAD (it was really just because the folder containing the package.cache file is newer than the file itself, because the folder carries the timestamp of when the .deb is installed).

I will backport that change to the older GHC .debs soon

Otoh, I wonder why the user-db gets out of sync, maybe there's something fundamentally broken with how ghc-pkg check validates the cache?

Please sign in to comment.
Something went wrong with that request. Please try again.