patch applied (cabal): Revert the change to filter out deps of non-buildable components

Duncan Coutts duncan.coutts at googlemail.com
Tue Dec 29 17:32:37 EST 2009


Tue Dec 29 14:25:33 PST 2009  Duncan Coutts <duncan at haskell.org>
  * Revert the change to filter out deps of non-buildable components
  Ignore-this: 7f6f18997e28b843422d2c55a8bce302
  It does not work as intended and gives inconsistent results between
  cabal install and cabal configure. The problem with the approach was
  that we were filtering out the dependencies of non-buildable components
  at the end. But that does not help much since if one of the deps of
  the non-buildable component were not available then we would have
  failed earlier with a constraint failure. A proper solution would have
  to tackle it from the beginning, not just as a filter at the end.
  The meaning of build-depends and buildable: False needs more thought.

    M ./Distribution/PackageDescription/Configuration.hs -25 +6

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20091229222533-adfee-d801b8240cf4b6d9c3db4bdd4d7aeaee05a30785.gz



More information about the cabal-devel mailing list