-
-
Save jdnavarro/e64f3d59f67f635921d0 to your computer and use it in GitHub Desktop.
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
cabal_version=1.20.0.3 | |
cabal_directory=Cabal-${cabal_version} | |
cabal_archive=${cabal_directory}.tar.gz | |
curl -O https://www.haskell.org/cabal/release/cabal-${cabal_version}/${cabal_archive} | |
tar xvzf ${cabal_archive} | |
cd ${cabal_directory} | |
ghc --make Setup | |
./Setup configure --prefix /opt/local | |
mkdir tmp | |
TMPDIR=tmp ./Setup build | |
./Setup install | |
rm -fr tmp | |
cabal_install_version=1.20.0.6 | |
cabal_install_directory=cabal-install-${cabal_install_version} | |
cabal_install_archive=${cabal_install_directory}.tar.gz | |
curl -O https://www.haskell.org/cabal/release/${cabal_install_directory}/${cabal_install_archive} | |
tar xvzf ${cabal_install_archive} | |
cd ${cabal_install_directory} | |
ghc --make Setup | |
./Setup configure --prefix /opt/local | |
mkdir tmp | |
TMPDIR=tmp ./Setup build | |
./Setup install | |
rm -fr tmp |
I suppose you already found out, but that's an out of memory error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Breaks at: