dbus-python: fix cross compilation

Passing PYTHON ensures a python interpreter can be run even when
cross compiling.
This commit is contained in:
Joerie de Gram 2021-12-29 15:36:31 +01:00
parent 2510939212
commit c0bf0edace

View file

@ -24,7 +24,7 @@ buildPythonPackage rec {
'' else null; '' else null;
configureFlags = [ configureFlags = [
"PYTHON_VERSION=${lib.versions.major python.version}" "PYTHON=${python.pythonForBuild.interpreter}"
]; ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];