[Haskell-cafe] Re: need help for cabal-install

Steve Lihn stevelihn at gmail.com
Sat Jan 19 09:27:54 EST 2008


On Jan 19, 2008 9:18 AM, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
>
> >
> > I think you're just missing a "--user":
> >
> >    $ cabal install --prefix=$HOME --user foo
>
> The prefix can also be set in the $HOME/.cabal/config file.
>

Syntax? Something like: prefix: /path/to/my/ghc ?

> BTW, In the development version of cabal-install --user is the default
> and the default user prefix is $HOME/.cabal (though both can be changed
> in the config file).
>

Is this newer than 12 hours ago? I tried "cabal install --prefix=/path
package" (without --user). That did not seem to work...

Steve


More information about the Haskell-Cafe mailing list