From e396c6e6a97f80f6ba71010bf9914006d99ffead Mon Sep 17 00:00:00 2001 From: Steven Kou Date: Thu, 16 Mar 2023 17:40:34 +0800 Subject: slack: fix feature flags The `--enable-features` flag should only be specified once as the final one will take precedence. --- pkgs/applications/networking/instant-messengers/slack/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 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 \ -- cgit 1.4.1