cabal install --only

Andres Löh andres at well-typed.com
Fri Mar 15 08:14:25 CET 2013


Hi.

> What is the purpose of the "install" command's "--only" flag? The
> documentation says "Only installs the package in the current
> directory", but this is already supported by running "cabal install"
> in the current directory without arguments. Would it be fine if I
> removed "--only"?

No, please do not remove it. Running install without --only causes all
sorts of things to happen, because install is the magic command. The --only
flag is for use after you have already run build and really only does the
installation, i.e. It behaves comparable to Setup install.

Cheers,
Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20130315/f844f0eb/attachment.htm>


More information about the cabal-devel mailing list