schildichat-desktop: copy sqlcipher fix from element-desktop (#201179)

authored by

Yureka and committed by
GitHub
cecc5530 0ad86f1a

+3
+3
pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix
··· 14 , Security 15 , AppKit 16 , CoreServices 17 }: 18 19 let ··· 87 done 88 89 # executable wrapper 90 makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ 91 --add-flags "$out/share/element/electron" \ 92 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 93
··· 14 , Security 15 , AppKit 16 , CoreServices 17 + , sqlcipher 18 }: 19 20 let ··· 88 done 89 90 # executable wrapper 91 + # LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102 92 makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ 93 + --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ 94 --add-flags "$out/share/element/electron" \ 95 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 96