mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
chore: fix dbus-python
This commit is contained in:
parent
8b8a01262f
commit
be61a2373b
1 changed files with 3 additions and 1 deletions
|
@ -698,7 +698,9 @@ lib.composeManyExtensions [
|
|||
|
||||
dbus-python = prev.dbus-python.overridePythonAttrs (old: {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = old.nativeBuildInputs or [ ]
|
||||
++ lib.optionals (lib.versionAtLeast old.version "1.3") [ pkgs.dbus ];
|
||||
} // lib.optionalAttrs (lib.versionOlder old.version "1.3") {
|
||||
postPatch = old.postPatch or "" + ''
|
||||
substituteInPlace ./configure --replace /usr/bin/file ${pkgs.file}/bin/file
|
||||
substituteInPlace ./dbus-python.pc.in --replace 'Cflags: -I''${includedir}' 'Cflags: -I''${includedir}/dbus-1.0'
|
||||
|
|
Loading…
Add table
Reference in a new issue