Add kpxc-search script to system packages
This commit is contained in:
parent
e8e13c992e
commit
f905de1d2c
1 changed files with 7 additions and 0 deletions
|
|
@ -482,6 +482,13 @@ with lib;
|
||||||
yq
|
yq
|
||||||
yt-dlp
|
yt-dlp
|
||||||
yubioath-flutter
|
yubioath-flutter
|
||||||
|
|
||||||
|
(pkgs.writeShellScriptBin "kpxc-search" ''
|
||||||
|
export GI_TYPELIB_PATH=${pkgs.lib.makeSearchPath "lib/girepository-1.0" [
|
||||||
|
pkgs.at-spi2-core pkgs.glib.out pkgs.gobject-introspection
|
||||||
|
]}''${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}
|
||||||
|
exec ${pkgs.python3.withPackages (ps: [ ps.pygobject3 ])}/bin/python3 ${./scripts/kpxc-search} "$@"
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
programs.ydotool.enable = true;
|
programs.ydotool.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue