Alternative (per-project) GHC package database?

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

Hi Dimitry Golubovsky's
How can I bootstrap a fresh minimal working GHC package configuration at the empty location?
If you want to give hack-nix a try you can get what you're looking for by running these two commands: hack-nix --build-env . ./default-env However you have to install Nix once. Get in touch if you want to see a demo. You can find more info and links on the haskell wiki. Marc Weber
participants (2)
-
Dimitry Golubovsky
-
Marc Weber