Cabal: Specify multiple package databases in config file

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

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.
participants (2)
-
Henning Thielemann
-
Jessica Hamilton