summaryrefslogtreecommitdiff
path: root/standalone/android/clean-haskell-packages
blob: b8c6132d6be62039278714a7d4a6818c41b6e200 (plain)
1
2
3
4
5
6
#!/bin/sh
# Removes all currently installed cross-compiled haskell packages
# except those part of ghc.
# Useful if the build failed.
rm -f $(grep -l $HOME/.ghc/$(cat abiversion)/.cabal/lib/ $HOME/.ghc/android-14/arm-linux-androideabi-4.8/lib/*-ghc-*/package.conf.d/*.conf)
$HOME/.ghc/$(cat abiversion)/arm-linux-androideabi/bin/ghc-pkg recache