Cabal: Specify multiple package databases in config file

Henning Thielemann lemming at henning-thielemann.de
Sun Jan 11 10:09:49 UTC 2015


On Sun, 11 Jan 2015, Jessica Hamilton wrote:

> My Cabal config file currently looks like:
>  package-db: /packages/ghc/.self/lib/package.conf.d
>
> I need this to be something like:
>  package-db: /packages/ghc/.self/lib/package.conf.d;
> /system/non-packaged/lib/ghc/package.conf.d

I would try:

package-db: /packages/ghc/.self/lib/package.conf.d
package-db: /system/non-packaged/lib/ghc/package.conf.d

This worked for me at least for the remote-repo field.


More information about the Libraries mailing list