helm/dev/+haskell/install
2017-05-25 11:48:53 +02:00

16 lines
300 B
Bash
Executable file

#!/usr/bin/env bash
case $OSTYPE in
darwin*)
brew install cabal-install ghc
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S cabal-install ghc
fi
;;
esac
cabal update
cabal install happy haskell-src-exts