[Haskell-cafe] Re: Haskell Platform - changing the global install dir

Paul Moore p.f.moore at gmail.com
Tue Oct 6 04:12:35 EDT 2009


2009/10/6 Mikhail Glushenkov <the.dead.shall.rise at gmail.com>:
> Hi Paul,
>
> On Tue, Oct 6, 2009 at 9:11 AM, Paul Moore <p.f.moore at gmail.com>
>> The "ugliness" (a bad word, I agree) was the need to change multiple
>> items - (at least) 2 places in the config file and (presumably) the
>> PATH entry.
>>
>> Is that all I need to change?
>
> I'm not a Cabal expert, but it looks like you could just change the
> "user-install" setting to True (and alter the PATH variable
> accordingly) to achieve what you want.

I can do a user install using cabal install --user and that works
fine. It's just the global one that hits the permission issue. As I'm
the only user on the PC, it doesn't make much difference which I use
in practice :-)

>> OK. But given that I said "install Haskell" in *this* location, I sort
>> of expected all my Haskell stuff to go there.
>
> You have a point, maybe we'll change this in the next release. I've
> filed a ticket [1].
>
> [1] http://trac.haskell.org/haskell-platform/ticket/97

Thanks - I hadn't realised there was a bug tracker for the Haskell Platform.
Paul.


More information about the Haskell-Cafe mailing list