haskell/cabal — pull request #1091 by 23Skidoo (2012-10-31 17:08:40+00:00)
Title: Warn when the executable install dir is not in $PATH.

In [this Reddit thread](http://www.reddit.com/r/haskell/comments/12alw1/why_inbreeding_is_bad_for_your_community_cabal/) some people suggested that cabal-install should print a warning when installing binaries to a directory that is not in PATH. This patch implements that suggestion.

Example of how this warning looks like in action:

$ cabal install ghc-core
[...]
Linking dist/build/ghc-core/ghc-core ...
Installing executable(s) in /home/cabal-test/.cabal/bin
Warning: The directory /home/cabal-test/.cabal/bin is not in the system search
path.
Installed ghc-core-0.5.4