environment variables for ghc

Frederik Eaton frederik at a5.repetae.net
Wed Mar 9 02:25:34 EST 2005


Is it possible to set environment variables which ghc will look at,
corresponding to command line options such as '-i' or '-package-conf'?
I.e. the equivalent of gcc's LIBRARY_PATH, CPATH, etc... or perl's
PERL5LIB or even PERL5OPT (which is the most flexible). These would be
really convenient since I have a package.conf file in my home
directory for locally installed packages, and some modules in another
directory that I often link to.

Frederik

-- 
http://ofb.net/~frederik/


More information about the Glasgow-haskell-users mailing list