summaryrefslogtreecommitdiff
path: root/standalone/android/buildchroot-inchroot-asuser
blob: a4467e66bcb7cff8136a249e69d759a7b948d11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Runs inside the chroot set up by buildchroot, as the user it creates
set -e

rm -rf .ghc .cabal
cabal update
cabal install happy alex --bindir=$HOME/bin
PATH=$HOME/bin:$PATH
export PATH
git clone https://github.com/joeyh/ghc-android
cd ghc-android
git checkout stable-ghc-snapshot
./build