[Haskell] Re: ANNOUNCE: GHC version 6.8.2

Benjamin L. Russell dekudekuplex at yahoo.com
Wed Dec 19 21:13:17 EST 2007

This fixed the problem, and on Windows XP
Professional, I was able to set GHCi to find .ghci in
%HOMEPATH%, which turned out to be c:\Documents and

However, I would like to override this setting, and
either have GHCi look for .ghci in %HOME%, as opposed
to %HOMEPATH% (so that this value is not automatically
set by the OS), or to set %HOMEPATH% itself to be

However, when I go to the Control Panel, then to the
System applet, then to the Advanced tab, then click on
the Environment Variables button, and then create an
environmental variable called "HOMEPATH" (either local
or global), this setting does not override the default
setting for this environmental variable, and GHCi
still looks for .ghci in the default location
(c:\Documents and Settings\<username>).

Does anybody know how to cause GHCi to look for .ghci
in c:\home?

Benjamin L. Russell

--- Claus Reinke <claus.reinke at talk21.com> wrote:

> > With the Windows release of GHC 6.8.2, GHCi does
> not find .ghci in
> > %HOME% (though it finds it in the current
> directory):
> try %HOMEDRIVE% %HOMEPATH% instead?
> or the result of
> 'System.Directory.getHomeDirectory'.
> you might have set %HOME% to help some unix software
> along, but this variable doesn't seem to exist by
> default.
> claus
> http://en.wikipedia.org/wiki/Home_directory
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell

More information about the Haskell mailing list