eom: Support avif, heif, jxl, webp (#533230)

This commit is contained in:
Bobby Rong
2026-06-20 15:27:13 +00:00
committed by GitHub
+20
View File
@@ -23,6 +23,11 @@
wrapGAppsHook3,
yelp-tools,
gitUpdater,
gnome,
libavif,
libheif,
libjxl,
webp-pixbuf-loader,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -64,6 +69,21 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
postInstall = ''
# In postInstall to run before gappsWrapperArgsHook.
export GDK_PIXBUF_MODULE_FILE="${
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
extraLoaders = [
libavif
libheif.lib
libjxl
librsvg
webp-pixbuf-loader
];
}
}"
'';
passthru.updateScript = gitUpdater {
odd-unstable = true;
rev-prefix = "v";