diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-04-20 19:42:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-20 19:42:43 +0200 |
commit | 65d8de75bd039037e896b6c9c18c7f426f74d668 (patch) | |
tree | 06a2e95c35c03e69c480faa837e02e88afb1b06b /pkgs/applications/networking/instant-messengers/element | |
parent | 3773b498fef7b207b486a6e79c453fb136d902a1 (diff) | |
parent | 2297fb987673edc6f057a78c4963b17a4c00f0a9 (diff) |
Merge pull request #303590 from mmarx/fix-mattermost-desktop-notifications
electron: Add libnotify, pipewire, and several other runtime dependencies to RPATH; fixes desktop notifications and screenshare
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/element')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/element/element-desktop.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix index 3fcbfcbf4649c..db8a8be7a8718 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix @@ -16,7 +16,6 @@ , AppKit , CoreServices , desktopToDarwinBundle -, libnotify , useKeytar ? true }: @@ -79,11 +78,6 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // { ''; installPhase = - let - libPath = lib.makeLibraryPath [ - libnotify - ]; - in '' runHook preInstall @@ -111,7 +105,6 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // { # 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 \ - --set LD_LIBRARY_PATH "${libPath}" \ --add-flags "$out/share/element/electron" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" |