git-annex/standalone/android/buildchroot-inchroot-asuser
2013-09-22 14:29:22 -04:00

14 lines
304 B
Bash
Executable file

#!/bin/sh
# Runs inside the chroot set up by buildchroot, as the user it creates
set -e
cd
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