helm/dev/+haskell/install

16 lines
300 B
Plaintext
Raw Normal View History

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