
On 31 May 2010 20:14, Pete Chown <1@234.cx> wrote:
I was just thinking, interactions between Cabal and the distribution package manager could get worse, as shared Haskell libraries become more common. Suppose a distribution ships a package 'foo', but not a package 'bar' which depends on it. The 'foo' package includes shared libraries. The user now installs 'bar' using Cabal. This causes Cabal to install 'foo' (because it is a dependency) and it won't use the distribution's package manager.
This is a good valid point and one I have been worrying about myself sometimes. I often find myself hitting Ctrl-C at "cabal install HACKAGE" to run "yum install ghc-DEPENDENCY-devel" and before returning to run "cabal install" again. It would be nice to automate this in some way - cabal-install plugins, anyone?? Jens