patch applied (cabal): "Do a sanity check on the HookedBuildInfo"

Duncan Coutts duncan.coutts at googlemail.com
Tue May 24 15:25:27 CEST 2011


Wed May 18 05:33:31 PDT 2011  Duncan Coutts <duncan at community.haskell.org>
  * Do a sanity check on the HookedBuildInfo
  Fixes ticket #844. Previously the function that merged the HookedBuildInfo
  into the PackageDescription would add a library section even if none
  previously existed.
  
  Now we generate an error message if the HookedBuildInfo contains info
  for non-existant components (libs/exes), e.g:
  
  Setup: The buildinfo contains info for a library, but the package does not
  have a library.

    M ./Distribution/PackageDescription.hs -5 +1
    M ./Distribution/Simple.hs -2 +28

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110518123331-5c91e-8fc62a764ecedff1072a54824550d66ff8b56baa.gz




More information about the cabal-devel mailing list