[Haskell-cafe] How to direct cabal to use an alternative ghc version, ala stack?

David Banas capn.freako at gmail.com
Thu Sep 3 00:37:52 UTC 2015


Hi all,

How do I direct cabal to use an alternative (i.e. - not my system’s default) version of ghc, which I’ve installed, via stack?

I tried this:

stack exec cabal install ...

but got this:

cabal: Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with
Cabal. Use the flag --package-db to specify a package database (it can be used
multiple times).

Thanks,
-db

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150902/6ab94ba9/attachment.html>


More information about the Haskell-Cafe mailing list