eww: add gdk-pixbuf dependency

Without this present, images (particularly SVG) will fail to render in
an image widget.

It's mentioned as a dependency here:
https://github.com/elkowar/eww/issues/302#issuecomment-947627327
This commit is contained in:
Mel Bourgeois 2022-11-07 01:32:04 -06:00
parent 34c4365854
commit 61f87a8dc3
No known key found for this signature in database
GPG Key ID: 290FCF081AEDB3EC

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, pkg-config
, gtk3
, gdk-pixbuf
, withWayland ? false
, gtk-layer-shell
, stdenv
@ -25,7 +26,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3 ] ++ lib.optional withWayland gtk-layer-shell;
buildInputs = [ gtk3 gdk-pixbuf ] ++ lib.optional withWayland gtk-layer-shell;
buildNoDefaultFeatures = withWayland;
buildFeatures = lib.optional withWayland "wayland";