State of the Mac Installer

Wilson MacGyver wmacgyver at gmail.com
Thu Mar 3 04:04:30 GMT 2011


I 2nd that, I think having Haskell installer mess with your
.bash_profile is a bad
idea.

On Wed, Mar 2, 2011 at 3:10 PM, Mark Lentczner <mark.lentczner at gmail.com> wrote:
> 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.



More information about the Haskell-platform mailing list