recursive-pth-loader: fix python path

This should work for both python2 and python3.
This commit is contained in:
Bjørn Forsman 2013-09-08 22:07:20 +02:00
parent 5f3b19e661
commit cadc9a03a7

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
patchPhase = "cat ${./sitecustomize.py} > sitecustomize.py";
buildPhase = "python -m compileall .";
buildPhase = "${python}/bin/${python.executable} -m compileall .";
installPhase =
''