czkawka: fix build on darwin

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2026-03-02 14:37:30 +01:00
parent 6f44932251
commit 3bf0bed9b9
+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