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

Paul Moore p.f.moore at gmail.com
Tue Oct 6 03:11:37 EDT 2009

2009/10/6 Mikhail Glushenkov <the.dead.shall.rise at gmail.com>:
> Hi Paul,
> Paul Moore <p.f.moore <at> gmail.com> writes:
>> Is there a way I could have specified that I want the global install
>> directory in D:\Apps\Haskell? I guess I could hack my cabal\config
>> file (and presumably change PATH) but that seems a bit ugly.
> A bit ugly? Why? That's precisely what the config files are for.

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?

Actually, on a related note, is there documentation on cabal I should
have found which contains the information on how to do this?

>> Is the
>> use of Program Files even when the install was to somewhere else a
>> bug?
> Not really, the Windows installer just doesn't tinker with the
> default cabal-install install location. There are plans, though,
> to implement an "install only for the current user" mode
> for the next release.

OK. But given that I said "install Haskell" in *this* location, I sort
of expected all my Haskell stuff to go there.

But thanks for the information, I can fix this now.


More information about the Haskell-Cafe mailing list