run cabal update before trying to install build deps

This commit is contained in:
Joey Hess 2015-03-19 15:55:21 -04:00
parent ea8bba4211
commit 8fa2b0e8b8

View file

@ -21,6 +21,7 @@ withcygpreferred () {
# Install haskell dependencies.
# cabal install is not run in cygwin, because we don't want configure scripts
# for haskell libraries to link them with the cygwin library.
cabal update || true
cabal install --only-dependencies || true
# Build git-annex