Do you need it only for build time or also for usage by end users?
If the switch to python2 is needed only for build time you can create a
symlink named "python" which would point to python2, and add the location
to the path before /usr/bin. This way in the build environment "python"
would be python2.
I hope I understood your question correctly :)
On Tue, May 1, 2012 at 8:34 PM, Adrien Haxaire <adrien at haxaire.org> wrote:
> Hello,
>> This week end I built GHC from the source, and everything ran smoothly.
>> However, I cannot figure out how to set python2 as the python executable
> to build the documentation or to run the testsuite.
>> How do you proceed ?
>>> Adrien
>>> _______________________________________________
> arch-haskell mailing list
>arch-haskell at haskell.org>http://www.haskell.org/mailman/listinfo/arch-haskell>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20120501/c2ea41a3/attachment.htm>