os/overlays/slack.nix

10 lines
337 B
Nix

final: prev: {
# https://askubuntu.com/questions/1490447/slack-with-webrtcpipewirecapture-wyaland-black-screen-sharing-but-works-on-chrom
slack = prev.slack.overrideAttrs (oldAttrs: rec {
postInstall = ''
sed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' $out/lib/slack/resources/app.asar
'';
});
}