summary refs log tree commit diff
path: root/pkgs/development/libraries/at-spi2-core
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-08-20 13:39:14 -0400
committerGitHub <noreply@github.com>2019-08-20 13:39:14 -0400
commitd02e0b6020b615a552d27b2ca0da78f27c1ffe6d (patch)
tree6e92215822a7a9698af3fe9ae4492f9dd272faa8 /pkgs/development/libraries/at-spi2-core
parentf743aa19327cad5b23627f5772566bbc7ed08014 (diff)
parentf6260a3fe5b2844671eb5dc3ff9f010009c116d1 (diff)
downloadnixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar.gz
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar.bz2
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar.lz
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar.xz
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.tar.zst
nixpkgs-d02e0b6020b615a552d27b2ca0da78f27c1ffe6d.zip
Merge pull request #66634 from matthewbauer/at-spi2-core-minimize-closure
at-spi2-core: provide fallback dbus_daemon manually
Diffstat (limited to 'pkgs/development/libraries/at-spi2-core')
-rw-r--r--pkgs/development/libraries/at-spi2-core/default.nix6
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 4e9a29b45b7..644d4e29c30 100644
--- a/pkgs/development/libraries/at-spi2-core/default.nix
+++ b/pkgs/development/libraries/at-spi2-core/default.nix
@@ -34,6 +34,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;