
Are you actually trying to remove the bits from the hard drive, or is that something to fix a different problem you're having. If it's a different problem, perhaps you could ask that as well? On Tue, Oct 6, 2009 at 4:04 PM, Paul Moore
2009/10/6 John Van Enk
: you want:
ghc-pkg unregister [package name]
and
ghc-pkg list
Thanks. I wouldn't have found that by myself.
Unfortunately, having issued
ghc-pkg unregister mersenne-random-1.0
I still see the code present:
dir C:\Users\Gustav\AppData\Roaming\cabal\mersenne-random-1.0\ghc-6.10.4
Volume in drive C is OS Serial number is 8442:99ea Directory of C:\Users\Gustav\AppData\Roaming\cabal\mersenne-random-1.0\ghc-6.10.4\*
05/10/2009 21:06 <DIR> . 05/10/2009 21:06 <DIR> .. 05/10/2009 21:06 <DIR> include 05/10/2009 21:06 <DIR> System 05/10/2009 21:06 44,350 HSmersenne-random-1.0.o 05/10/2009 21:06 66,762 libHSmersenne-random-1.0.a
Looks like ghc-pkg unregister just does precisely that - unregisters the package but doesn't remove it. Can I even persuage cabal/ghc-pkg to list all the files and directories created by the install so I can remove them by hand?
Paul.