helm/dev/+haskell/install

17 lines
327 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-08-06 07:07:53 -07:00
pacaur --needed --noconfirm -S stack ncurses5-compat-lib
stack setup
fi
;;
esac
2017-05-25 02:44:47 -07:00
cabal update
cabal install happy haskell-src-exts