<div dir="ltr">Do you need it only for build time or also for usage by end users?<div>If the switch to python2 is needed only for build time you can create a symlink named &quot;python&quot; which would point to python2, and add the location to the path before /usr/bin. This way in the build environment &quot;python&quot; would be python2.</div>
<div><br></div><div>I hope I understood your question correctly :)<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 8:34 PM, Adrien Haxaire <span dir="ltr">&lt;<a href="mailto:adrien@haxaire.org" target="_blank">adrien@haxaire.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
This week end I built GHC from the source, and everything ran smoothly.<br>
<br>
However, I cannot figure out how to set python2 as the python executable<br>
to build the documentation or to run the testsuite.<br>
<br>
How do you proceed ?<br>
<br>
<br>
Adrien<br>
<br>
<br>
_______________________________________________<br>
arch-haskell mailing list<br>
<a href="mailto:arch-haskell@haskell.org">arch-haskell@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/arch-haskell" target="_blank">http://www.haskell.org/mailman/listinfo/arch-haskell</a><br>
</blockquote></div><br></div></div>