mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
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.
This commit is contained in:
parent
514af58478
commit
f6260a3fe5
@ -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?"
|
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 = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
Loading…
Reference in New Issue
Block a user