cabal install from local git-annex cabal file

This commit is contained in:
Joey Hess 2013-09-22 19:30:44 -04:00
parent e86cbcd631
commit 5e8bac96f1

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Bootstraps from an empty cabal to all the necessary haskell packages # Bootstraps from an empty cabal to all the necessary haskell packages
# being installed, with the necessary patches to work on Android. # being installed, with the necessary patches to work on Android.
# #
@ -46,8 +46,10 @@ patched () {
} }
installgitannexdeps () { installgitannexdeps () {
echo cabal install git-annex --only-dependencies pushd ../..
cabal install git-annex --only-dependencies "$@" echo cabal install --only-dependencies
cabal install --only-dependencies "$@"
popd
} }
install_pkgs () { install_pkgs () {