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