mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
dbus.{tools,daemon}: don't provide a wrong dbus-1.pc
Fixes #6086. I think this will rebuild most of KDE and GNOME due to strigi and upower.
This commit is contained in:
parent
7d6cd236c3
commit
8ec4c682a7
|
@ -91,6 +91,13 @@ let
|
|||
stdenv.lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed "
|
||||
+ "-ldbus-1";
|
||||
|
||||
# don't provide another dbus-1.pc (with incorrect include and link dirs),
|
||||
# also remove useless empty dirs
|
||||
postInstall = ''
|
||||
rm "$out"/lib/pkgconfig/dbus-1.pc
|
||||
rmdir --parents --ignore-fail-on-non-empty "$out"/{lib/pkgconfig,share/dbus-1/*}
|
||||
'';
|
||||
|
||||
meta.platforms = with stdenv.lib.platforms; allBut darwin;
|
||||
};
|
||||
|
||||
|
@ -101,3 +108,4 @@ let
|
|||
};
|
||||
};
|
||||
in attrs.libs // attrs
|
||||
|
||||
|
|
Loading…
Reference in a new issue