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