diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-09 11:51:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-09 11:51:45 -0400 |
commit | 7d9b6c7665a9cc9f0cc2efd3f1274b5495723bb8 (patch) | |
tree | 08b2fd12af302f7884cff26925732d3abc04a95e /doc/install/OSX.mdwn | |
parent | 5bdf96c2160a80e6e9c18629e9fd2ba82cdc5d25 (diff) |
improve cabal instructions to handle installing c2hs
Diffstat (limited to 'doc/install/OSX.mdwn')
-rw-r--r-- | doc/install/OSX.mdwn | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/install/OSX.mdwn b/doc/install/OSX.mdwn index 2f08190c6..b91f8353b 100644 --- a/doc/install/OSX.mdwn +++ b/doc/install/OSX.mdwn @@ -16,7 +16,8 @@ sudo brew update sudo brew install haskell-platform git ossp-uuid md5sha1sum coreutils pcre libgsasl gnutls libidn libgsasl pkg-config libxml2 sudo brew link libxml2 cabal update -cabal install git-annex --bindir=$HOME/bin +PATH=$HOME/bin:$PATH +cabal install c2hs git-annex --bindir=$HOME/bin </pre> ## using MacPorts @@ -31,14 +32,15 @@ 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 sudo cabal update -cabal install git-annex --bindir=$HOME/bin +PATH=$HOME/bin:$PATH +cabal install c2hs git-annex --bindir=$HOME/bin </pre> ## PATH setup Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example: <pre> -PATH=$HOME/bin:/usr/bin/local:$PATH +PATH=$HOME/bin:$PATH </pre> See also: |