Alternative (per-project) GHC package database?

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


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:


and a (initially empty) subdirectory in it:


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?


Dimitry Golubovsky

Anywhere on the Web

More information about the Glasgow-haskell-users mailing list