On Friday, 30 September 2011 01:42:00 UTC+1, Antoine Latter  wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><p>Why do you want to change the behavior of the 'clean' hook? Most users<br>would expect it to clear out everything that 'configure', 'build' and<br>such have done.</p><p>I would be cautious about subverting user expectations like that.</p></blockquote><div>I'm only inquiring about changing the clean hook for this specific project, not cabal in general.<br><br>And the reason I'm looking to change it is that building the C++ component takes a long time (over five minutes on my fairly average laptop), so cleaning everything every time is an extremely annoying inconvenience.<br><br>My main questions are:<br>1. Is there some reason (other than 'safety') that "cabal install" cleans everything up?<br>2. Why does setting cleanHook to return () not have any effect?<br><br>Thanks,<br></div>