work around recent cabal dependency mess
This commit is contained in:
parent
8abfd5045c
commit
6052486dc3
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue