
2 Jun
2010
2 Jun
'10
2:37 p.m.
On Wed, Jun 2, 2010 at 12:37 PM, Ivan Lazar Miljenovic
Is there a way of making Cabal install dependencies using the system package manager, then?
For example, I might ask Cabal to install package A. Package A depends on B and C. A package for B can be downloaded through APT, but there are no APT-installable candidates for A and C. Are you saying that Cabal can download and install B using APT, then download A and C from Hackage?
If you mean cabal-install, then no, there's no integration on either side.
It's worth noting, though, that cabal-install doesn't track installed packages itself, GHC does. So if you install a library from APT and it writes to the package.conf correctly, cabal-install will be able to find it.