constrain cryptonite version to avoid windows build fail

https://github.com/haskell-crypto/cryptonite/issues/99
This commit is contained in:
Joey Hess 2016-09-06 13:50:55 -04:00
parent 022382160a
commit fd02af6136
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -28,7 +28,7 @@ export UPGRADE_LOCATION
# Uncomment to get rid of cabal installed libraries.
#cabal list --installed
rm -rf /c/Users/jenkins/AppData/Roaming/cabal /c/Users/jenkins/AppData/Roaming/ghc
#rm -rf /c/Users/jenkins/AppData/Roaming/cabal /c/Users/jenkins/AppData/Roaming/ghc
# Don't allow build artifact from a past successful build to be extracted
# if we fail.
@ -39,7 +39,10 @@ rm -f git-annex-installer.exe
# for haskell libraries to link them with the cygwin library.
cabal update || true
cabal install --only-dependencies --constraint='persistent-sqlite ==2.2' || true
cabal install --only-dependencies \
--constraint='persistent-sqlite ==2.2' \
--constraint='cryptonite ==0.7' \
|| true
# Detect when the last build was an incremental build and failed,
# and try a full build. Done this way because this shell seems a bit