telegram-desktop: actually support AVIF/HEIF/JXL on Darwin (#495677)

This commit is contained in:
Aleksana
2026-03-04 02:30:08 +00:00
committed by GitHub
2 changed files with 6 additions and 8 deletions
@@ -9,9 +9,6 @@
qtsvg,
qtwayland,
kimageformats,
libavif,
libheif,
libjxl,
wrapGAppsHook3,
wrapQtAppsHook,
geoclue2,
@@ -41,11 +38,6 @@ stdenv.mkDerivation (finalAttrs: {
kimageformats
qtwayland
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libavif
libheif
libjxl
]
++ lib.optionals withWebkit [
glib-networking
];
@@ -28,6 +28,9 @@
microsoft-gsl,
boost,
ada,
libavif,
libheif,
libjxl,
libicns,
apple-sdk_15,
nix-update-script,
@@ -90,6 +93,9 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_15
libicns
libavif
libheif
libjxl
];
dontWrapQtApps = true;