igloo at earth.li
Sun Jan 17 07:19:35 EST 2010
This patch adds a build-dep command to cabal-install, so
cabal-install build-dep mypackage
installs all the dependencies of mypackage, but not mypackage itself.
There are at least a couple of problems with this patch:
* I don't know what happens if you say
cabal-install build-dep foo bar
and bar is one of the transitive dependencies of foo.
* Removing the packages from the install plan should probably do so
directly, rather than converting the plan to a list and back again.
But I'm sending it now so it doesn't just sit on my HD for eternity.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19272 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20100117/e5166c46/build-dep.bin
More information about the cabal-devel