Alternative (per-project) GHC package database?

Dimitry Golubovsky golubovsky at gmail.com
Tue Jun 29 10:37:10 EDT 2010


Hi,

I would like to have a completely per-project configuration of GHC
installed packages. Suppose I have a project (targeting one or more
executables) directory:

/my/project

and a (initially empty) subdirectory in it:

/my/project/packages

and GHC and Cabal are run like

cd /my/project ; GHC_PACKAGE_PATH=/my/project/packages cabal install

so the default global and user package configurations are not visible
when building the project.

How can I bootstrap a fresh minimal working GHC package configuration
at the empty location?

Thanks.

-- 
Dimitry Golubovsky

Anywhere on the Web


More information about the Glasgow-haskell-users mailing list