<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 30, 2016 at 7:37 PM, Robin Palotai <span dir="ltr"><<a href="mailto:palotai.robin@gmail.com" target="_blank">palotai.robin@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Do you know a way to force a rebuild of base with stack? I don't want to modify it, just want to feed it through a customized ghc pipeline. </div></blockquote></div><br>base is part of ghc and must be built along with ghc. It cannot be built separately from ghc, regardless of tooling, if you want it to actually work.</div><div class="gmail_extra"><br></div><div class="gmail_extra">(If you want to see some examples of why it is this way, play around with RebindableSyntax a bit, paying attention to the ways in which it breaks if you do the wrong thing. You can also get some idea of it from the behavior of type roles. In short: ghc must know the precise identity *at machine level*, not just source, of various key types in base. It can only do this by ghc and base being built together so that various types' machine level representations can be wired into ghc as they are built.)<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>