piper: temporarily propagate gobject-introspection

On startup piper would be unable to find Pango:
> ImportError: Typelib file for namespace 'Pango', version '1.0' not found

Workaround for #56943
This commit is contained in:
Martin Weinelt 2019-09-19 22:09:57 +02:00
parent 262b328b0b
commit fb9b7446ee
1 changed files with 6 additions and 2 deletions

View File

@ -16,8 +16,12 @@ python3.pkgs.buildPythonApplication rec {
};
nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook desktop-file-utils appstream-glib gobject-introspection ];
buildInputs = [ gtk3 glib gnome3.adwaita-icon-theme python3 ];
propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ];
buildInputs = [
gtk3 glib gnome3.adwaita-icon-theme python3
];
propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ] ++ [
gobject-introspection # fixes https://github.com/NixOS/nixpkgs/issues/56943 for now
];
postPatch = ''
chmod +x meson_install.sh # patchShebangs requires executable file