cabal-install uninstall ?

Duncan Coutts duncan.coutts at
Wed May 14 05:48:56 EDT 2008

On Wed, 2008-05-14 at 11:28 +0200, Henrique Ferreiro García wrote:
> Hi!
> I'd like to get involved in haskell development and I think this could
> be a good start. I don't know how much time I'll have to do this, but if
> you give me that advice I'll try to implement this functionality.


The place to look is the Distribution.Simple.Install module in the Cabal
library. It currently directly calls functions like copyFileVerbose,
copyDirectoryRecursiveVerbose and copyFiles.

You'll want to look at each case and instead gather the files to be
installed into one big list and then use a single call to copyFiles.


> > So as you say, the way to do this would be to generate a list of files
> > that will be installed. This can be used to later uninstall. 
> > If you want to work on this feature I can provide some advice on how to
> > implement it. It'll need a bit of work to restructure the install code
> > so that it actually produces a list of things to install, rather than
> > just installing them.
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at

More information about the cabal-devel mailing list