Skip to content

Commit 3ea1895

Browse files
committed
buildMozillaMach: backport cbindgen 0.27.0 compat
The preliminary assumption is that this will land in 131 and then get backported into the ESR releases. I don't plan to guess the correct version boundaries at this time.
1 parent a7ca865 commit 3ea1895

File tree

1 file changed

+8
-0
lines changed
  • pkgs/applications/networking/browsers/firefox

1 file changed

+8
-0
lines changed

pkgs/applications/networking/browsers/firefox/common.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@ buildStdenv.mkDerivation {
237237
patches = lib.optionals (lib.versionAtLeast version "111") [ ./env_var_for_system_dir-ff111.patch ]
238238
++ lib.optionals (lib.versionAtLeast version "96" && lib.versionOlder version "121") [ ./no-buildconfig-ffx96.patch ]
239239
++ lib.optionals (lib.versionAtLeast version "121") [ ./no-buildconfig-ffx121.patch ]
240+
++ lib.optionals (lib.versionOlder version "131") [
241+
(fetchpatch {
242+
# https://bugzilla.mozilla.org/show_bug.cgi?id=1912663
243+
name = "cbindgen-0.27.0-compat.patch";
244+
url = "https://hg.mozilla.org/integration/autoland/raw-rev/98cd34c7ff57";
245+
hash = "sha256-MqgWHgbDedVzDOqY2/fvCCp+bGwFBHqmaJLi/mllZug=";
246+
})
247+
]
240248
++ lib.optionals (lib.versionOlder version "122") [ ./bindgen-0.64-clang-18.patch ]
241249
++ lib.optionals (lib.versionOlder version "123") [
242250
(fetchpatch {

0 commit comments

Comments
 (0)