buildMozillaMach: apply cbindgen patches for 128.1.x

Unbreaks Thunderbird, which has not yet received an update.
This commit is contained in:
Martin Weinelt 2024-09-04 02:50:53 +02:00
parent af18f59884
commit ecedb9315a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -237,7 +237,7 @@ buildStdenv.mkDerivation {
patches = lib.optionals (lib.versionAtLeast version "111") [ ./env_var_for_system_dir-ff111.patch ]
++ lib.optionals (lib.versionAtLeast version "96" && lib.versionOlder version "121") [ ./no-buildconfig-ffx96.patch ]
++ lib.optionals (lib.versionAtLeast version "121") [ ./no-buildconfig-ffx121.patch ]
++ lib.optionals (lib.versionOlder version "128" || (lib.versionAtLeast version "129" && lib.versionOlder version "130")) [
++ lib.optionals (lib.versionOlder version "128.2" || (lib.versionAtLeast version "129" && lib.versionOlder version "130")) [
(fetchpatch {
# https://bugzilla.mozilla.org/show_bug.cgi?id=1912663
name = "cbindgen-0.27.0-compat.patch";