[Haskell-cafe] Damnit, we need a CPAN.

Thomas Schilling nominolo at googlemail.com
Mon Jun 2 12:13:33 EDT 2008


On 29 maj 2008, at 18.13, Don Stewart wrote:

>> Hackage and Cabal are nice, but a command line tool for automatically
>> searching Hackage and installing Hackage packages (like the cpan
>> program, or easy_install) would be nice.  Unless I haven't done my
>> homework and this tool exists...
>>
>
> This tool exists. It is called 'cabal-install'. To try out one of
> today's new packages:
>
>     $ cabal update
>     $ cabal install category-extras
>


Another nice feature:  Say you want to hack on the darcs version of a  
project, but you need to install the dependencies.  If the project is  
Cabalised you can build and install the darcs version as well as all  
dependencies by calling 'cabal install' with no arguments inside the  
project directory.

   $ darcs get <project>
   $ cd <project>
   $ cabal install

/ Thomas
--
Push the envelope.  Watch it bend.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080602/17c7ae5a/PGP.bin


More information about the Haskell-Cafe mailing list