mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 23:16:13 -05:00
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:
1 file changed
+5
-1
@@ -1,7 +1,11 @@
|
|||||||
{ pkgs, package, module }:
|
{ pkgs, package, module }:
|
||||||
let
|
let
|
||||||
testPython = pkgs.python3.withPackages (ps: [ ps.pyatspi ps.pygobject3 ]);
|
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" ''
|
chooseTauri = pkgs.writeScript "choose-tauri" ''
|
||||||
#!${testPython}/bin/python3
|
#!${testPython}/bin/python3
|
||||||
import pyatspi
|
import pyatspi
|
||||||
|
|||||||
Reference in new issue
Block a user