State of the Mac Installer
jwlato at gmail.com
Thu Mar 3 10:19:45 GMT 2011
I hadn't been thinking of all the contexts the Haskell installer would be
executed, this does seem impractical.
But user-installed executables shouldn't go into /usr/local/bin either.
Does the directory really need to be on the path?
On Thu, Mar 3, 2011 at 4:04 AM, Wilson MacGyver <wmacgyver at gmail.com> wrote:
> I 2nd that, I think having Haskell installer mess with your
> .bash_profile is a bad
> On Wed, Mar 2, 2011 at 3:10 PM, Mark Lentczner <mark.lentczner at gmail.com>
> > Editing ~/.bash_profile feels "out of scope" to me. Installing Haskell
> > shouldn't, I think, edit your shell settings, should it? For example,
> > I can't imagine any Linux distro of Haskell deciding to do such a
> > thing.
> > If it *were* in scope, then I'd keep all the built bins tidy and out
> > of /usr/bin even for ghc and the like, and put all of these on the
> > user's PATH:
> > ~/Library/Haskell/bin/
> > /Library/Haskell/bin/
> > /Library/Frameworks/GHC.framework/Versions/Current/usr/bin/
> > But that would lead to another problem: When to modify
> > ~/.bash_profile? At install time, the installer is running as
> > administrator. It could enumerate all accounts and try to figure out
> > which are real users vs. utility accounts. It could enumerate /Users,
> > ignoring Shared. And none of these would handle the issue of
> > non-logged in users with FireVault home dirs, home dirs mounted via
> > NFS or the like, or (gasp) users who don't use bash!
> > Still searching...
> Omnem crede diem tibi diluxisse supremum.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-platform