summaryrefslogtreecommitdiff
path: root/doc/install/OSX.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-05-28 15:07:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-05-28 15:07:32 -0400
commit71c3196356539bccb533828b6cb01fdffa2bedc6 (patch)
tree48470abbb8f8b644d6463bd1e0b59cdd6079a546 /doc/install/OSX.mdwn
parent8139731708290a516a844dc2cdbeab031e185119 (diff)
update OSX instructions to use ghc7.0 branch
Needed until the next Haskell Platform provides a new ghc.
Diffstat (limited to 'doc/install/OSX.mdwn')
-rw-r--r--doc/install/OSX.mdwn13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/install/OSX.mdwn b/doc/install/OSX.mdwn
index f65e0bb4f..ffd942437 100644
--- a/doc/install/OSX.mdwn
+++ b/doc/install/OSX.mdwn
@@ -1,4 +1,6 @@
-Install Haskel 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
+Install Haskel 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
<pre>
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre
@@ -8,8 +10,15 @@ sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that al
# optional: this will enable the gnu tools, (to give sha224sum etc..., it does not override the BSD userland)
export PATH=$PATH:/opt/local/libexec/gnubin
+git clone git://git-annex.branchable.com/ git-annex
+cd git-annex
+git checkout ghc7.0
+
sudo cabal update
-cabal install git-annex --bindir=$HOME/bin
+cabal install --only-dependencies
+cabal configure
+cabal build
+cabal install --bindir=$HOME/bin
</pre>
Originally posted by Jon at <https://gist.github.com/671785> --[[Joey]], modified by [[kristianrumberg]]