building without the global package-db

Chris Dornan lists at
Sun Feb 8 00:54:25 UTC 2015


I am trying to build a self-contained package-db that is independent of the
global package-db.

I am using ghc-7.8.4 and cabal- I create an empty package-db in
package-db and type the following:

    cabal- install --package-db=clear --package-db=package-db

but I get

   cabal- With current ghc versions the global package db is
always used
   and must be listed first. This ghc limitation may be lifted in future,

5977 was fixed 3 years ago -- should the error message be updated?

I am told that cabal allows building without the global package db, but how?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list