Created
September 15, 2016 11:21
-
-
Save snoyberg/959a2ade4287de6129910eeabec1d9d2 to your computer and use it in GitHub Desktop.
Haskception
This file contains 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
#!/usr/bin/env bash | |
set -eux | |
# Useful for using a base Docker image without wget | |
# apt-get update | |
# apt-get install wget -y | |
wget -qO- https://get.haskellstack.org/ | sh | |
stack setup | |
echo 'export PATH=$HOME/.local/bin:`stack path --bin-path`' >> ~/.bashrc | |
stack build alex happy cabal-install | |
# Now let's get crazy :) | |
export PATH=$HOME/.local/bin:`stack path --bin-path` | |
cabal install stack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment