about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/slack
diff options
context:
space:
mode:
authormaxine <35892750+maxeaubrey@users.noreply.github.com>2023-03-01 11:06:33 +0100
committerGitHub <noreply@github.com>2023-03-01 11:06:33 +0100
commit59096498f56c89f65bb03766b65c11abfb819459 (patch)
treeef3e5a5493f28511fbd44aad45f145ed110ccd17 /pkgs/applications/networking/instant-messengers/slack
parenteb201d6d8ae9f4fa7397200b592ebefcea57e17a (diff)
parentd2823723cc77bc8d530dc441b1253473ac03521c (diff)
Merge pull request #212698 from SebTM/fix/slack_wayland_screensharing
slack: add conditional-flag "--enable-features=WebRTCPipeWireCapturer" for screensharing under wayland
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/slack')
-rw-r--r--pkgs/applications/networking/instant-messengers/slack/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix
index 0f2ef4d586ffb..23571658a24b7 100644
--- a/pkgs/applications/networking/instant-messengers/slack/default.nix
+++ b/pkgs/applications/networking/instant-messengers/slack/default.nix
@@ -172,7 +172,8 @@ let
       makeWrapper $out/lib/slack/slack $out/bin/slack \
         --prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH \
         --suffix PATH : ${lib.makeBinPath [xdg-utils]} \
-        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
+        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
+        --add-flags "\''${WAYLAND_DISPLAY:+--enable-features=WebRTCPipeWireCapturer}"
 
       # Fix the desktop link
       substituteInPlace $out/share/applications/slack.desktop \