
27 Apr
2008
27 Apr
'08
3:49 p.m.
Hello Duncan, Sunday, April 27, 2008, 11:42:01 PM, you wrote:
The problem is that if you install pretty, Cabal will suddenly cease working until you recompile it. It depends on a version of pretty which gets bundled with GHC is purportedly of the same version as the one on hackage, but the two aren't binary compatible. So when it tries to use it, everything goes boom.
The solution is not to identify installed packages by their name and version but by a hash that identifies the package ABI.
probably not ABI (it should be the same), but random number generated when compilation (build) occurs -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com