python.pkgs.protobuf: use python.interpreter

This commit is contained in:
Robert Schütz 2019-04-14 13:21:10 +02:00
parent 985b9e47b8
commit 905cdeecac

View File

@ -41,9 +41,9 @@ buildPythonPackage rec {
preBuild = ''
# Workaround for https://github.com/google/protobuf/issues/2895
${python}/bin/${python.executable} setup.py build
${python.interpreter} setup.py build
'' + optionalString (versionAtLeast protobuf.version "2.6.0") ''
${python}/bin/${python.executable} setup.py build_ext --cpp_implementation
${python.interpreter} setup.py build_ext --cpp_implementation
'';
installFlags = optional (versionAtLeast protobuf.version "2.6.0")