aboutsummaryrefslogtreecommitdiff
path: root/standalone/android/install-haskell-packages
diff options
context:
space:
mode:
authorGravatar androidbuilder <androidbuilder@example.com>2015-08-02 19:48:36 +0000
committerGravatar androidbuilder <androidbuilder@example.com>2015-08-02 19:48:36 +0000
commitd03dd472b7f987695489f01d52cedb8b16e5b6c1 (patch)
treec5f5d0bd8a6a68476fc4cc6616170e8545d51791 /standalone/android/install-haskell-packages
parentf37922856e7ac2ad535f8da11dc291f485e22b98 (diff)
reverted updates to new lib versions that broke android build
I ran into several evilsplicer problems with the new lib versions, most notably including a problem with encoding of embedded binary files
Diffstat (limited to 'standalone/android/install-haskell-packages')
-rwxr-xr-xstandalone/android/install-haskell-packages23
1 files changed, 16 insertions, 7 deletions
diff --git a/standalone/android/install-haskell-packages b/standalone/android/install-haskell-packages
index a2e1008fb..4e7f4a24b 100755
--- a/standalone/android/install-haskell-packages
+++ b/standalone/android/install-haskell-packages
@@ -8,6 +8,10 @@
# versions that have been gotten working. To update, delete the
# cabal.config, run this script with an empty cabal and fix up the broken
# patches, and then use cabal freeze to generate a new cabal.config.
+#
+# This only installs haskell packages for ghc-android. The host ghc
+# also needs to have all the git-annex build deps installed, in similar
+# versions. Those are installed from Debian packages using apt.
set -e
@@ -86,9 +90,10 @@ EOF
patched iproute
patched primitive
patched socks
- patched entropy
+ # patched entropy # needed for newer version, not current pinned version
patched vector
patched stm-chans
+ patched persistent
patched profunctors
patched skein
patched lens
@@ -97,14 +102,19 @@ EOF
patched persistent-template
patched system-filepath
patched optparse-applicative
- patched warp
patched wai-app-static
patched shakespeare
+ patched shakespeare-css
+ patched shakespeare-js
+ patched yesod-routes
patched yesod-core
+ patched yesod-persistent
patched yesod-form
+ patched crypto-numbers
patched clock
patched yesod-auth
patched yesod
+ patched shakespeare-text
patched process-conduit
patched DAV
patched yesod-static
@@ -112,6 +122,7 @@ EOF
patched dns
patched gnutls
patched unbounded-delays
+ patched gnuidn
patched network-protocol-xmpp
cd ..
@@ -119,13 +130,11 @@ EOF
installgitannexdeps -fAndroid -f-Pairing
}
-setupcabal
-
-# Install packages for host ghc.
+# native cabal needs its own update
cabal update
-installgitannexdeps
-# Install packages for cross ghc, with patches as necessary.
PATH=$HOME/.ghc/$(cat abiversion)/bin:$HOME/.ghc/$(cat abiversion)/arm-linux-androideabi/bin:$PATH
+setupcabal
cabal update
+
install_pkgs