cabal usage

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Thu Jan 8 05:14:12 EST 2009


what is the recommended way (fewest keystrokes) for:

* cabal install foo (download from hackage)
* build failure => edit sources => repeat install on modified sources

Is it really "cabal fetch foo"
then "tar xvfz ~/.cabal/some/very/long/pathname.tgz" ?

during the original "cabal install",
sources seem to be in /tmp/TMPfoo-*/*
but they are removed on failure.

or - is this a workflow that should not happen
(e.g. it might lead to confusing error messages later
because "ghc-pkg list" shows the original version number
if I forget to bump it while patching the sources)

J.W.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/libraries/attachments/20090108/a7bf1954/signature-0001.bin


More information about the Libraries mailing list