schildichat-desktop: copy sqlcipher fix from element-desktop (#201179)
This commit is contained in:
parent
0ad86f1a4f
commit
cecc553095
|
@ -14,6 +14,7 @@
|
|||
, Security
|
||||
, AppKit
|
||||
, CoreServices
|
||||
, sqlcipher
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -87,7 +88,9 @@ stdenv.mkDerivation rec {
|
|||
done
|
||||
|
||||
# executable wrapper
|
||||
# LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102
|
||||
makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \
|
||||
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \
|
||||
--add-flags "$out/share/element/electron" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue