about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/slack
diff options
context:
space:
mode:
authorSteven Kou <skykinetic@stevenkou.xyz>2023-03-16 17:40:34 +0800
committerSteven Kou <skykinetic@stevenkou.xyz>2023-03-16 17:40:34 +0800
commite396c6e6a97f80f6ba71010bf9914006d99ffead (patch)
tree9f14802ecdcddc80a455b6d0d4a28219b8c6de12 /pkgs/applications/networking/instant-messengers/slack
parentae65ff26ac49b9baf77348a314cf01d950e52e88 (diff)
slack: fix feature flags
The `--enable-features` flag should only be specified once as the final
one will take precedence.
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 23571658a24b7..439fd503529bb 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 \