patch applied (cabal): Stop having hooks return an ExitCode that we then ignore

Sven Panne sven.panne at aedion.de
Sat Jun 23 08:08:20 EDT 2007


[ I've been quite busy in the last few months, so perhaps I've missed some 
discussions on the relevant mailing lists. ]

On Wednesday 18 April 2007 05:53, Duncan Coutts wrote:
> Tue Apr 17 15:56:57 PDT 2007  Ian Lynagh <igloo at earth.li>
>   * Stop having hooks return an ExitCode that we then ignore
>
>     M ./Distribution/Simple.hs -36 +28

Hmmm, what is the intention behind this patch? Is it *really* necessary (apart 
from aesthetic reasons)? I hope there is a very good technical reason to 
change such a public API. This breaks a few Setup scripts, and currently I 
can't see a way to fix the Setup scripts for Alex + Happy to make them work 
with a Cabal before this patch (e.g. the one shipped with GHC 6.6.1) and a 
later one. Neil has already pushed a non-backwards compatible patch for Alex, 
but that of course breaks Alex for 6.6.1. Do we have preprocessor symbols 
available in Setup.lhs scripts to distinguish Cabal versions? :-P * * * Or is 
there another way to tackle this problem I'm not aware of? I'll take a look, 
but any hints would be highly appreciated, anyway...

Cheers,
   S.


More information about the Cvs-libraries mailing list