Cabal: Specify multiple package databases in config file

Jessica Hamilton jessica.l.hamilton at gmail.com
Sun Jan 11 00:36:13 UTC 2015


Hi All,

Is it possible to specify multiple package databases in Cabal's config file?

Currently, I have two installed package databases. One is the system
readonly package database, and the other is the system writable
package database. This structure is due to how packaging works on
Haiku, so can't be changed. A similar structure would also exist for
user package databases.

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

Is this possible with the Cabal config file? If so, what is the
correct syntax to use?

Many Thanks,
Jessica


More information about the Libraries mailing list