try working around strange cabal install bug for xss-sanitize

This commit is contained in:
Joey Hess 2017-10-16 15:11:50 -04:00
parent d845d8a667
commit c8cc32335f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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 xss-sanitize
# workaround strange cabal install bug for xss-sanitize
git clone https://github.com/yesodweb/haskell-xss-sanitize xss-sanitize
(cd xss-sanitize && cabal install)
cabal install --only-dependencies \
--constraint='persistent-sqlite ==2.2' \
--constraint='cryptonite ==0.7' \