[Haskell-cafe] install-dirs on Mac OS X

2009-12-21 Thread Mark Lentczner
I have been thinking about the location of installed Haskell package files on Mac OS X. The choice of location affects: GHC & other Haskell implementations Haskell Platform Cabal & cabal-install Haddock If all those agreed on directory locations and layouts, I think

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-22 Thread Duncan Coutts
On Mon, 2009-12-21 at 22:55 -0800, Mark Lentczner wrote: > I have been thinking about the location of installed Haskell package > files on Mac OS X. The choice of location affects: > > [..] > > Thoughts? I'd be happy to help by supplying patches for various tools > to normalize all this on some a

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-22 Thread Duncan Coutts
On Mon, 2009-12-21 at 22:55 -0800, Mark Lentczner wrote: > I suggest that the default place for global installs on Mac OS X be: > /Library/Haskell/ As I've mentioned I'm mostly an OSX ignoramus. One thing I think I've seen said before however is that things in /Library and ~/Library are sup

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-22 Thread Mark Lentczner
On Dec 22, 2009, at 12:35 PM, Duncan Coutts wrote: > One thing I think I've seen said before however is that things in /Library > and ~/Library are supposed to be app bundles or frameworks or some other > special OSX packaging thing, rather than traditional Unix-style installations. Nope - not t

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-22 Thread wren ng thornton
Mark Lentczner wrote: Taking a cue from the various preinstalled language systems on Mac OS X, up over in /Library might be a better place: Python puts installed packages in: /Library/Python//site-packages Ruby puts installed packages in: /Library/Ruby/Gems/

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-22 Thread wren ng thornton
Mark Lentczner wrote: On Dec 22, 2009, at 12:35 PM, Duncan Coutts wrote: One thing I think I've seen said before however is that things in /Library and ~/Library are supposed to be app bundles or frameworks or some other special OSX packaging thing, rather than traditional Unix-style installat

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-24 Thread Mark Lentczner
First, we must look at how Apple intends the various Library directories to be used. Please see the Apple docs on it[* link below]. Essentially, /Library is the Mac OS X equivalent of /usr/local. > However, I would be opposed to storing anything in /Library or /System. Those > are for system u

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-24 Thread wren ng thornton
Mark Lentczner wrote: First, we must look at how Apple intends the various Library directories to be used. Please see the Apple docs on it[* link below]. Essentially, /Library is the Mac OS X equivalent of /usr/local. However, I would be opposed to storing anything in /Library or /System. Th

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-25 Thread Graham Klyne
Mark Lentczner wrote: [*] The Apple guidelines for the /Library and ~/Library files are here:http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFileSystem/Articles/LibraryDirectory.html#//apple_ref/doc/uid/20002282-BAJHCHJI Thanks for the link. I followed through to a co

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-25 Thread wren ng thornton
Graham Klyne wrote: Mark Lentczner wrote: [*] The Apple guidelines for the /Library and ~/Library files are here:http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFileSystem/Articles/LibraryDirectory.html#//apple_ref/doc/uid/20002282-BAJHCHJI Thanks for the link. I fo

Re: [Haskell-cafe] install-dirs on Mac OS X

2009-12-27 Thread Yitzchak Gale
Mark Lentczner wrote: > I have been thinking about the location of installed Haskell package > files on Mac OS X. Thanks, we've really needed that for a while now. > The choice of location affects: >        GHC & other Haskell implementations >        Haskell Platform >        Cabal & cabal-insta