pythonPackages.dbus-python: fix includedir in pkg-config

This commit is contained in:
Jan Tojnar
2019-03-03 02:34:08 +01:00
parent 1eab40211e
commit c28848a3b3
3 changed files with 15 additions and 3 deletions

View File

@@ -18,9 +18,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ python.pkgs.dbus-python ];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl) -I${python.pkgs.dbus-python}/include/dbus-1.0 $NIX_CFLAGS_COMPILE"
export NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl) -I${stdenv.lib.getDev python.pkgs.dbus-python}/include/dbus-1.0 $NIX_CFLAGS_COMPILE"
'';
preBuild = "${python.interpreter} setup.py build_ext";
installPhase= "${python.interpreter} setup.py install --prefix=$out";