libjxl: fix cross compilation by only conditionally enabling plugins
commit044b3342d1500fb2b741e87e4d10894f4d8fd716
authorColin <colin@uninsane.org>
Mon, 22 Apr 2024 11:43:33 +0000 (22 11:43 +0000)
committerColin <colin@uninsane.org>
Mon, 22 Apr 2024 11:43:38 +0000 (22 11:43 +0000)
tree5507a5d76136d4dd285c7232708958087e49bba2
parent8a3f95b79ba3083cfff90752296ef8a52a6bec9a
libjxl: fix cross compilation by only conditionally enabling plugins

`gdk-pixbuf` does not always provide `gdk-pixbuf-thumbnailer`,
particularly when cross compiling. without gdk-pixbuf-thumbnailer,
gdk-pixbuf-thumbnailer-jxl fails to wrap.
pkgs/development/libraries/libjxl/default.nix