summaryrefslogtreecommitdiff
path: root/standalone/linux
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-18 21:41:17 +0000
committerGravatar Joey Hess <joey@kitenet.net>2013-12-18 21:41:17 +0000
commit64121182de585c3e0998e4a9066dfdc181cc99f9 (patch)
treeeb8f99dc91e2f97bdee050608137da94595fb305 /standalone/linux
parent696c355a7008fb6f8912dba4327ff152cbf05d02 (diff)
allow building webapp with EvilSplicer for non-android arm
Was able to reuse many of the android patches, but several had to be re-done. On Android, ghc is a stage2 build, so can compile, but not run TH code. But debian's ghc on armel cannot even compile TH code, so it has to be patched out. Some haskell packages have been updated to new versions, including yesod and DAV, and their patches had to be redone. The Makefile now has 2 new targets. The first is run on a companion x86 system to do the build and get TH splices. Then the second target is run the same source tree on the arm system to build without needing TH. This commit was sponsored by Svenne Krap.
Diffstat (limited to 'standalone/linux')
-rwxr-xr-xstandalone/linux/install-haskell-packages26
1 files changed, 25 insertions, 1 deletions
diff --git a/standalone/linux/install-haskell-packages b/standalone/linux/install-haskell-packages
index 62bdf701b..f22bf17cb 100755
--- a/standalone/linux/install-haskell-packages
+++ b/standalone/linux/install-haskell-packages
@@ -34,7 +34,7 @@ patched () {
git config user.email dummy@example.com
git add .
git commit -m "pre-patched state of $pkg"
- for patch in ../../../haskell-patches/no-th/${pkg}_*; do
+ for patch in ../../../no-th/haskell-patches/${pkg}_*; do
if [ -e "$patch" ]; then
echo trying $patch
if ! patch -p1 < $patch; then
@@ -61,6 +61,30 @@ install_pkgs () {
mkdir tmp
cd tmp
+ patched wai-app-static
+ patched shakespeare
+ patched shakespeare-css
+ patched yesod-routes
+ patched hamlet
+ patched monad-logger
+ patched shakespeare-i18n
+ patched shakespeare-js
+ patched yesod-core
+ patched persistent
+ patched persistent-template
+ patched yesod
+ patched process-conduit
+ patched yesod-static
+ patched yesod-form
+ patched file-embed
+ patched yesod-auth
+ patched yesod
+ patched generic-deriving
+ patched profunctors
+ patched reflection
+ patched lens
+ patched xml-hamlet
+ patched shakespeare-text
patched DAV
cd ..