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 <[email protected]> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/arch-haskell
>
_______________________________________________
arch-haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/arch-haskell

Reply via email to