dbus-python: fix configure dependency on python3

See https://github.com/NixOS/nixpkgs/pull/144095#pullrequestreview-804181903

(cherry picked from commit 02b507e0dc)
This commit is contained in:
dadada
2021-12-01 21:46:18 +01:00
committed by github-actions[bot]
parent 4ad06d5a3e
commit c7ee4d2a75

View File

@@ -23,6 +23,10 @@ buildPythonPackage rec {
MACOSX_DEPLOYMENT_TARGET=10.16
'' else null;
configureFlags = [
"PYTHON_VERSION=${lib.versions.major python.version}"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus dbus-glib ]
# My guess why it's sometimes trying to -lncurses.