<div dir="ltr">With my Cabal maintainer hat on there are two important considerations:<div><br></div><div> * Make sure your patches make it upstream.</div><div> * Make sure that we make a Cabal release with your changes in it before the next GHC release you're targeting your feature for.</div>

<div><br></div><div>In the past we had problems with GHC HQ releasing packages at HEAD without upstream's blessing and sometimes with extra patches that never made it upstream (which leaves a big risk that these patches get lost next time upstream makes a release).</div>

<div><br></div><div>You can sync GHC's submodule to the latest Cabal HEAD and test to make sure your patches work there. Alternatively GHC HQ can have a local Git branch of 1.20 with your extra patches (but then really make sure that the above holds.)</div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 3:45 PM, Edward Z. Yang <span dir="ltr"><<a href="mailto:ezyang@mit.edu" target="_blank">ezyang@mit.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I am working on module reexports (<a href="https://ghc.haskell.org/trac/ghc/ticket/8407" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/8407</a>)<br>
and this functionality requires concurrent changes to GHC and Cabal.<br>
However, GHC is currently tracking 1.20, but Cabal HEAD has marched on.<br>
<br>
My question is, if I am to do this development on HEAD, what is the<br>
standard operating procedure for retargeting GHC to a recent version of<br>
Cabal?  Of course I have to go and validate the build, but are there<br>
any other considerations? Is this recorded anywhere?<br>
<br>
Thanks,<br>
Edward<br>
_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/cabal-devel" target="_blank">http://www.haskell.org/mailman/listinfo/cabal-devel</a><br>
</blockquote></div><br></div>