Loading pkgs/applications/networking/browsers/chromium/common.nix +15 −0 Original line number Diff line number Diff line Loading @@ -534,6 +534,21 @@ let decode = "base64 -d"; hash = "sha256-xMqGdu5Q8BGF/OIRdmMzPrrrMGDOSY2xElFfhRsJlDU="; }) ] ++ lib.optionals (!isElectron) [ # Backport "Only call format_message when needed" to fix print() crashing with is_cfi = true. # We build electron is_cfi = false and as such electron is not affected by this. # https://github.com/NixOS/nixpkgs/issues/401326 # https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/issues/13 # https://skia-review.googlesource.com/c/skia/+/961356 (fetchpatch { name = "only-call-format_message-when-needed.patch"; url = "https://skia.googlesource.com/skia/+/71685eda67178fa374d473ec1431fc459c83bb21^!?format=TEXT"; decode = "base64 -d"; stripLen = 1; extraPrefix = "third_party/skia/"; hash = "sha256-aMqDjt/0cowqSm5DqcD3+zX+mtjydk396LD+B5F/3cs="; }) ]; postPatch = Loading Loading
pkgs/applications/networking/browsers/chromium/common.nix +15 −0 Original line number Diff line number Diff line Loading @@ -534,6 +534,21 @@ let decode = "base64 -d"; hash = "sha256-xMqGdu5Q8BGF/OIRdmMzPrrrMGDOSY2xElFfhRsJlDU="; }) ] ++ lib.optionals (!isElectron) [ # Backport "Only call format_message when needed" to fix print() crashing with is_cfi = true. # We build electron is_cfi = false and as such electron is not affected by this. # https://github.com/NixOS/nixpkgs/issues/401326 # https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/issues/13 # https://skia-review.googlesource.com/c/skia/+/961356 (fetchpatch { name = "only-call-format_message-when-needed.patch"; url = "https://skia.googlesource.com/skia/+/71685eda67178fa374d473ec1431fc459c83bb21^!?format=TEXT"; decode = "base64 -d"; stripLen = 1; extraPrefix = "third_party/skia/"; hash = "sha256-aMqDjt/0cowqSm5DqcD3+zX+mtjydk396LD+B5F/3cs="; }) ]; postPatch = Loading