Created
November 10, 2016 14:50
-
-
Save gianlucacandiotti/d68cb63382074c68a7c7c1c458f243e1 to your computer and use it in GitHub Desktop.
Vagrant shell provisioning - Haskell Minimal Installers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y software-properties-common | |
sudo add-apt-repository -y ppa:hvr/ghc | |
sudo apt-get update | |
sudo apt-get install -y cabal-install-1.22 ghc-7.10.3 | |
cat >> ~/.bashrc <<EOF | |
export PATH="\$HOME/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:\$PATH" | |
EOF | |
export PATH=~/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment