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-18 14:44:28 +0100
committerGitHub <noreply@github.com>2023-03-18 14:44:28 +0100
commit388d764544fd578d443ba043b2d4e31d12ddcb83 (patch)
tree63878f5ea4ce9385c36ed247f70d19009b15f759 /pkgs/applications/networking/instant-messengers/slack
parentb3832b283687aa39d22de9bbc412a81c0113fc88 (diff)
parente396c6e6a97f80f6ba71010bf9914006d99ffead (diff)
Merge pull request #221450 from kouyk/fix/slack-window-decoration
slack: fix feature flags
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/slack')
-rw-r--r--pkgs/applications/networking/instant-messengers/slack/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix
index bb2f64212fc09..f524dec3ef1e1 100644
--- a/pkgs/applications/networking/instant-messengers/slack/default.nix
+++ b/pkgs/applications/networking/instant-messengers/slack/default.nix
@@ -172,8 +172,7 @@ 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 "\''${WAYLAND_DISPLAY:+--enable-features=WebRTCPipeWireCapturer}"
+        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer}}"
 
       # Fix the desktop link
       substituteInPlace $out/share/applications/slack.desktop \