at-spi2-core: fix support for dbus-broker
This commit is contained in:
parent
7fb738decf
commit
221f2fe693
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue