diff options
author | Andreas Wurzer <andreas.wurzer@novum-rgi.at> | 2024-03-12 13:42:14 +0100 |
---|---|---|
committer | Andreas Wurzer <andreas.wurzer@novum-rgi.at> | 2024-03-12 14:21:36 +0100 |
commit | f31be1409e7d9932e52179e1c2f6a4c4b8ffbe53 (patch) | |
tree | 15799c6491d87db5277bd229f49ed01dababdf0c /pkgs/applications/networking/instant-messengers/teams-for-linux | |
parent | da05945c74fcb2a7eb8fe49be8803b74b6a17b07 (diff) |
teams-for-linux: add libnotify to LD_LIBRARY_PATH
to support notifications
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/teams-for-linux')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix index 7e2f4c577146b..0f9581ee78d32 100644 --- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix @@ -9,6 +9,7 @@ , fetchYarnDeps , prefetch-yarn-deps , electron +, libnotify , libpulseaudio , pipewire , alsa-utils @@ -71,11 +72,11 @@ stdenv.mkDerivation (finalAttrs: { done popd - # Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing + # Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, 'libpipewire' for screen sharing and 'libnotify' for notifications makeWrapper '${electron}/bin/electron' "$out/bin/teams-for-linux" \ ${lib.optionalString stdenv.isLinux '' --prefix PATH : ${lib.makeBinPath [ alsa-utils which ]} \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio pipewire ]} \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio pipewire libnotify ]} \ ''} \ --add-flags "$out/share/teams-for-linux/app.asar" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" |