[haskell-platform] #174: Cabal no longer adds binaries to PATH

haskell-platform haskell-platform at projects.haskell.org
Fri Apr 29 07:06:29 BST 2011


#174: Cabal no longer adds binaries to PATH
---------------------------+------------------------------------------------
 Reporter:  duncan         |        Owner:  MtnViewMark
     Type:  defect         |       Status:  closed     
 Priority:  major          |    Milestone:             
Component:  OSX installer  |   Resolution:  invalid    
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by MtnViewMark):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Actually, Cabal never added binaries to directories in PATH! In the past,
 it was common for people to modify their cabal configurations to symlink
 binaries into ~/bin -- but on Mac, that isn't on the PATH by default.

 The original reporter seems to be using the cabal configuration that HP
 now puts on peoples systems, though it only does so if they have no pre-
 exisiting cabal configuration -- and it should have informed them that the
 location of built binaries wasn't on their PATH, and it should have
 printed out instructions for setting that up. See the script in
 /usr/bin/cabal.wrap that does this. I'd love to learn more if this process
 didn't work correctly (separate ticket).

 (The HP installer, which runs as root, can't reliably adjust PATH settings
 for each user on the machine.)

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/174#comment:2>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list