diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-08-14 14:18:49 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-08-14 14:18:49 -0400 |
commit | f6260a3fe5b2844671eb5dc3ff9f010009c116d1 (patch) | |
tree | d9431cde172622cca5ed6aee93d9c791e2c6ba4e /pkgs | |
parent | 514af584786777e058180147e7dc862641c70acc (diff) | |
download | nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar.gz nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar.bz2 nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar.lz nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar.xz nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.tar.zst nixpkgs-f6260a3fe5b2844671eb5dc3ff9f010009c116d1.zip |
at-spi2-core: provide fallback dbus_daemon manually
This point directly to the NixOS current-system. This is necessary to avoid creating a direct dependency on DBUS and increasing every app’s runtime closure. Luckily, dbus_daemon is only used for the case when dbus is not running and users can always run the dbus-daemon themselves if it cannot be found.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/at-spi2-core/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/at-spi2-core/default.nix b/pkgs/development/libraries/at-spi2-core/default.nix index e5d5313eeb1..50513acb7e1 100644 --- a/pkgs/development/libraries/at-spi2-core/default.nix +++ b/pkgs/development/libraries/at-spi2-core/default.nix @@ -35,6 +35,12 @@ stdenv.mkDerivation rec { doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?" + # Provide dbus-daemon fallback when it is not already running when + # at-spi2-bus-launcher is executed. This allows us to avoid + # including the entire dbus closure in libraries linked with + # the at-spi2-core libraries. + mesonFlags = [ "-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon" ]; + passthru = { updateScript = gnome3.updateScript { packageName = pname; |