[Haskell-cafe] cabal --user question
Isaac Jones
ijones at syntaxpolice.org
Sun Jul 10 19:10:59 EDT 2005
Frederik Eaton <frederik at a5.repetae.net> writes:
> Hi,
>
> How do I install a package in the user package.conf with cabal? It is
> not clear to me how to do this, looking at the output of 'configure
> --help'. There is an option "--user" to get dependencies from the user
> cabal file but this still, somewhat counterintuitively, tries to
> install the package in the global location (why would one want such
> behavior?). Specifying '--with-hc-pkg="ghc-pkg --user"' doesn't seem
> to work either, when I do this then 'install' and 'unregister'
> complete without error but apparently have no effect.
./setup configure --user #if it depends on user-local packages
./setup build
./setup install --user
Perhaps install --user should be the default if you configure --user.
The user's guide is here:
http://www.haskell.org/ghc/docs/latest/html/Cabal/
peace,
isaac
More information about the Haskell-Cafe
mailing list