at-spi2-core: fix support for dbus-broker
This commit is contained in:
parent
7fb738decf
commit
221f2fe693
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
, libXi
|
, libXi
|
||||||
, libXext
|
, libXext
|
||||||
, gnome
|
, gnome
|
||||||
|
, systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -49,6 +50,9 @@ stdenv.mkDerivation rec {
|
||||||
libXi
|
libXi
|
||||||
# libXext is a transitive dependency of libXi
|
# libXext is a transitive dependency of libXi
|
||||||
libXext
|
libXext
|
||||||
|
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
|
# libsystemd is a needed for dbus-broker support
|
||||||
|
systemd
|
||||||
];
|
];
|
||||||
|
|
||||||
# In atspi-2.pc dbus-1 glib-2.0
|
# 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
|
# including the entire dbus closure in libraries linked with
|
||||||
# the at-spi2-core libraries.
|
# the at-spi2-core libraries.
|
||||||
"-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon"
|
"-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 = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue