simplify OSX installation instructions

The new Haskell Platform was released today, with the new ghc git-annex's
master branch needs, so cabal should be usable again on OSX.
This commit is contained in:
Joey Hess 2012-06-03 14:27:11 -04:00
parent c74f39843b
commit 619d765646

View file

@ -1,4 +1,4 @@
Install Haskel Platform from [[http://hackage.haskell.org/platform/mac.html]].
Install the Haskell Platform from [[http://hackage.haskell.org/platform/mac.html]].
The version provided by Macports is too old to work with current versions of git-annex.
Then execute
@ -7,19 +7,10 @@ sudo port install git-core ossp-uuid md5sha1sum coreutils pcre
sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre
git clone git://git-annex.branchable.com/ git-annex
cd git-annex
git checkout ghc7.0
sudo cabal update
cabal install --only-dependencies
cabal configure
cabal build
cabal install --bindir=$HOME/bin
cabal install git-annex --bindir=$HOME/bin
</pre>
Originally posted by Jon at <https://gist.github.com/671785> --[[Joey]], modified by [[kristianrumberg]]
See also:
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]