czkawka: fix build on darwin (#495834)

This commit is contained in:
Paul Meyer
2026-03-02 21:30:11 +00:00
committed by GitHub
+5 -2
View File
@@ -49,9 +49,11 @@ let
gdk-pixbuf
glib
gtk4
pango
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libglvnd
libxkbcommon
pango
wayland
];
@@ -78,7 +80,8 @@ let
postFixup = ''
wrapGApp $out/bin/czkawka_gui
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
patchelf --add-rpath "${
lib.makeLibraryPath [
fontconfig