diff --git a/dev/+haskell/env.zsh b/dev/+haskell/env.zsh new file mode 100644 index 00000000..ed4b4cf9 --- /dev/null +++ b/dev/+haskell/env.zsh @@ -0,0 +1 @@ +path=(~/.cabal/bin $path) diff --git a/dev/+haskell/install b/dev/+haskell/install index 646c2e09..21767e03 100755 --- a/dev/+haskell/install +++ b/dev/+haskell/install @@ -2,11 +2,14 @@ case $OSTYPE in darwin*) - brew install ghc cabal-install + brew install cabal-install ghc ;; linux*) if [[ -f /etc/arch-release ]]; then - sudo pacman --needed --noconfirm -S ghc cabal-install + sudo pacman --needed --noconfirm -S cabal-install ghc fi ;; esac + +cabal update +cabal install happy haskell-src-exts