Skip to content

Commit 221f2fe

Browse files
committed
at-spi2-core: fix support for dbus-broker
1 parent 7fb738d commit 221f2fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkgs/development/libraries/at-spi2-core/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
, libXi
1919
, libXext
2020
, gnome
21+
, systemd
2122
}:
2223

2324
stdenv.mkDerivation rec {
@@ -49,6 +50,9 @@ stdenv.mkDerivation rec {
4950
libXi
5051
# libXext is a transitive dependency of libXi
5152
libXext
53+
] ++ lib.optionals stdenv.hostPlatform.isLinux [
54+
# libsystemd is a needed for dbus-broker support
55+
systemd
5256
];
5357

5458
# In atspi-2.pc dbus-1 glib-2.0
@@ -67,6 +71,9 @@ stdenv.mkDerivation rec {
6771
# including the entire dbus closure in libraries linked with
6872
# the at-spi2-core libraries.
6973
"-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon"
74+
] ++ lib.optionals stdenv.hostPlatform.isLinux [
75+
# Same as the above, but for dbus-broker
76+
"-Ddbus_broker=/run/current-system/sw/bin/dbus-broker-launch"
7077
];
7178

7279
passthru = {

0 commit comments

Comments
 (0)