cabal install --only

Andres Löh andres at
Fri Mar 15 08:14:25 CET 2013


> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list