Dependencies in user repository

Judah Jacobson judah.jacobson at
Mon Dec 1 19:06:37 EST 2008

On Mon, Dec 1, 2008 at 1:40 PM, Lars Kotthoff <lists at> wrote:
> Dear all,
>  I'm having trouble getting Cabal to find packages installed in my user
> repository.
> When I run ghc-pkg list manually, I can see all the required packages, listed in
> the section for my user repository. When I run ghci I can import said packages
> as well. Yet when I run ghc on the Setup.hs file of a package which requires
> said packages, it tells me that the dependencies are missing.

You probably want to use:
runghc Setup configure --user

Hope that helps,

More information about the cabal-devel mailing list