environment variables for ghc

Frederik Eaton frederik at ugcs.caltech.edu
Wed Mar 9 03:28:40 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