From 23966f151eaa0087577a14417f8d9c80aa62a15f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 25 May 2017 11:44:47 +0200 Subject: [PATCH] Improve haskell topic --- dev/+haskell/env.zsh | 1 + dev/+haskell/install | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 dev/+haskell/env.zsh 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