element-desktop: do not set LD_LIBRARY_PATH

libnotify is now included in electron's RPATH, so we can avoid setting
LD_LIBRARY_PATH here.

-7
-7
pkgs/applications/networking/instant-messengers/element/element-desktop.nix
··· 16 , AppKit 17 , CoreServices 18 , desktopToDarwinBundle 19 - , libnotify 20 , useKeytar ? true 21 }: 22 ··· 79 ''; 80 81 installPhase = 82 - let 83 - libPath = lib.makeLibraryPath [ 84 - libnotify 85 - ]; 86 - in 87 '' 88 runHook preInstall 89 ··· 111 # LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102 112 makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ 113 --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ 114 - --set LD_LIBRARY_PATH "${libPath}" \ 115 --add-flags "$out/share/element/electron" \ 116 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 117
··· 16 , AppKit 17 , CoreServices 18 , desktopToDarwinBundle 19 , useKeytar ? true 20 }: 21 ··· 78 ''; 79 80 installPhase = 81 '' 82 runHook preInstall 83 ··· 105 # LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102 106 makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ 107 --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ 108 --add-flags "$out/share/element/electron" \ 109 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 110