summaryrefslogtreecommitdiff
path: root/doc/install/OSX/cabal/comment_22_6b5f44a98f9d37a1c6ecfe19a60fe6c5._comment
blob: 7dfa481328f693ad726dbd6182fed1f6aca1ba94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawmRFKwny4rArBaz-36xTcsJYqKIgdDaw5Q"
 nickname="Andrew"
 subject="comment 22"
 date="2013-07-25T02:19:53Z"
 content="""
Rather than specifying --bindir on the command line for cabal, I edited my ~/.cabal/config to add this line:

    symlink-bindir: /usr/local/bin

This installs the binaries to ~/.cabal/bin but symlinks them into /usr/local/bin alongside the links that homebrew installs. Additionally, I symlinked /usr/local/bin/git-annex-shell to /usr/local/bin/git-annex which made things work great from remote hosts via ssh.
"""]]