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.
This commit is contained in:
Kevin Yue committed 2026-11-21 01:43:27 +08:00
1 parent 0787a5a463
commit cd0c5d805b
1 file changed
+5 -1
+5 -1
View File
@@ -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