Skip to content

Commit

Permalink
Merge pull request NixOS#293010 from tobim/pkgs/slack/fix-pipewire-sc…
Browse files Browse the repository at this point in the history
…reen-capture
  • Loading branch information
amaxine authored Mar 3, 2024
2 parents ad46e10 + 5f6b9d7 commit 62e1690
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ let
--replace /usr/bin/ $out/bin/ \
--replace /usr/share/pixmaps/slack.png slack \
--replace bin/slack "bin/slack -s"
'' + lib.optionalString stdenv.hostPlatform.isLinux ''
# Prevent Un-blacklist pipewire integration to enable screen sharing on wayland.
# https://github.com/flathub/com.slack.Slack/issues/101#issuecomment-1807073763
sed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' $out/lib/slack/resources/app.asar
'' + ''
runHook postInstall
'';
};
Expand Down

0 comments on commit 62e1690

Please sign in to comment.