From d2823723cc77bc8d530dc441b1253473ac03521c Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Thu, 26 Jan 2023 04:01:19 +0100 Subject: slack: add conditional-flag "--enable-features=WebRTCPipeWireCapturer" for screensharing under wayland --- pkgs/applications/networking/instant-messengers/slack/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/networking/instant-messengers/slack') diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix index 7bd88eaa75459..ff3b74fd7fcd4 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 \ -- cgit 1.4.1