[Haskell-cafe] cabal configure && cabal build && cabal install

Herbert Valerio Riedel hvr at gnu.org
Mon Nov 26 10:21:21 CET 2012


Brent Yorgey <byorgey at seas.upenn.edu> writes:
> On Sun, Nov 25, 2012 at 06:09:26PM -0500, Albert Y. C. Lai wrote:

>> If you begin with "cabal configure", the correct idiom is:
>> 
>> cabal configure [flags]
>> cabal build
>> [cabal haddock, if you want]
>> cabal copy
>> cabal register
>
> Even this does not do the same thing as 'cabal install', because it
> does not download and install any dependencies (whereas 'cabal
> install' does).

...but if he prepended a 'cabal install --only-dependencies' to the
invocation sequence it would, wouldn't it?



More information about the Haskell-Cafe mailing list