From cd0c5d805b2742f57f06a903fcadd24a8f58bceb Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 21 Nov 2026 01:43:27 +0800 Subject: [PATCH] Provide the D-Bus typelib to the NixOS accessibility test Atspi depends on DBus-1.0, which GObject Introspection installs outside the GLib and Atspi output paths. --- nix/tests/desktop-interfaces.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/tests/desktop-interfaces.nix b/nix/tests/desktop-interfaces.nix index abeb073..0b48bc9 100644 --- a/nix/tests/desktop-interfaces.nix +++ b/nix/tests/desktop-interfaces.nix @@ -1,7 +1,11 @@ { pkgs, package, module }: let testPython = pkgs.python3.withPackages (ps: [ ps.pyatspi ps.pygobject3 ]); - typelibs = pkgs.lib.makeSearchPath "lib/girepository-1.0" [ pkgs.at-spi2-core pkgs.glib.out ]; + typelibs = pkgs.lib.makeSearchPath "lib/girepository-1.0" [ + pkgs.at-spi2-core + pkgs.glib.out + pkgs.gobject-introspection + ]; chooseTauri = pkgs.writeScript "choose-tauri" '' #!${testPython}/bin/python3 import pyatspi