Merge pull request #221201 from lovesegfault/at-spi2-core-dbus-broker

This commit is contained in:
Bernardo Meurer 2023-04-03 14:16:35 -07:00 committed by GitHub
commit 3e8e3e1f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
, libXi
, libXext
, gnome
, systemd
}:
stdenv.mkDerivation rec {
@ -49,6 +50,9 @@ stdenv.mkDerivation rec {
libXi
# libXext is a transitive dependency of libXi
libXext
] ++ lib.optionals stdenv.hostPlatform.isLinux [
# libsystemd is a needed for dbus-broker support
systemd
];
# In atspi-2.pc dbus-1 glib-2.0
@ -67,6 +71,9 @@ stdenv.mkDerivation rec {
# including the entire dbus closure in libraries linked with
# the at-spi2-core libraries.
"-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon"
] ++ lib.optionals stdenv.hostPlatform.isLinux [
# Same as the above, but for dbus-broker
"-Ddbus_broker=/run/current-system/sw/bin/dbus-broker-launch"
];
passthru = {