work around recent cabal dependency mess

This commit is contained in:
Joey Hess 2014-05-25 21:25:04 -04:00
parent 8abfd5045c
commit 6052486dc3

View file

@ -20,6 +20,15 @@ fi
cabalopts="$@"
setupcabal () {
cabal update
# Workaround for http://www.reddit.com/r/haskell/comments/26045a/if_youre_finding_cabal_cant_build_your_project/
# should be able to remove this eventually.
cabal install transformers-compat -fthree
cabal install mtl-2.1.3.1
}
cabalinstall () {
echo cabal install "$@" "$cabalopts"
eval cabal install "$@" "$cabalopts"
@ -119,7 +128,7 @@ echo
echo
echo native build
echo
cabal update
setupcabal
installgitannexdeps
echo
@ -127,5 +136,5 @@ echo
echo cross build
echo
PATH=$HOME/.ghc/$(cat abiversion)/bin:$HOME/.ghc/$(cat abiversion)/arm-linux-androideabi/bin:$PATH
cabal update
setupcabal
install_pkgs