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
commitfb9b7446ee0f2e57e6819982121ac01fa15d9601
authorMartin Weinelt <hexa@darmstadt.ccc.de>
dateThu 19 Sep 2019, 22:09 (7 years ago)
parent262b328
pkgs/os-specific/linux/piper/default.nix+6−2
@@ -16,8 +16,12 @@ python3.pkgs.buildPythonApplication rec {
1616 };
1717
1818 nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook desktop-file-utils appstream-glib gobject-introspection ];
19− buildInputs = [ gtk3 glib gnome3.adwaita-icon-theme python3 ];
20− propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ];
19+ buildInputs = [
20+ gtk3 glib gnome3.adwaita-icon-theme python3
21+ ];
22+ propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ] ++ [
23+ gobject-introspection # fixes https://github.com/NixOS/nixpkgs/issues/56943 for now
24+ ];
2125
2226 postPatch = ''
2327 chmod +x meson_install.sh # patchShebangs requires executable file