cabal install --only

Tillmann Rendel rendel at
Fri Mar 15 12:55:11 CET 2013


Mikhail Glushenkov wrote:
> 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.

Before installing the package in the current directory, "cabal install" 
resolves, downloads, builds and installs dependencies. So "cabal 
install" is not at all the same as "cabal install --only".


More information about the cabal-devel mailing list