lol

chromium: fix SIGKILL when trying to screenshare with PipeWire 1.4 (#398963)

authored by

Emily and committed by
GitHub
bda42625 e03c4aa4

+14
+14
pkgs/applications/networking/browsers/chromium/common.nix
··· 520 520 revert = true; 521 521 hash = "sha256-PuinMLhJ2W4KPXI5K0ujw85ENTB1wG7Hv785SZ55xnY="; 522 522 }) 523 + ] 524 + ++ lib.optionals (!isElectron && !chromiumVersionAtLeast "137") [ 525 + # Backport "Add more CFI suppressions for inline PipeWire functions" from M137 526 + # to fix SIGKILL (ud1) when screensharing with PipeWire 1.4+ and is_cfi = true. 527 + # Our chromium builds set is_official_build = true, which in turn enables is_cfi. 528 + # We don't apply this patch to electron, because we build electron with 529 + # is_cfi = false and as such is not affected by this. 530 + # https://chromium-review.googlesource.com/c/chromium/src/+/6421030 531 + (fetchpatch { 532 + name = "add-more-CFI-suppressions-for-inline-PipeWire-functions.patch"; 533 + url = "https://chromium.googlesource.com/chromium/src/+/0eebf40b9914bca8fe69bef8eea89522c1a5d4ce^!?format=TEXT"; 534 + decode = "base64 -d"; 535 + hash = "sha256-xMqGdu5Q8BGF/OIRdmMzPrrrMGDOSY2xElFfhRsJlDU="; 536 + }) 523 537 ]; 524 538 525 539 postPatch =