buildMozillaMach: revert apple-sdk 26.5 on 153.0 and newer

No backports for apple sdks and Mozilla is updating because Apple keeps
depublishing older versions.
This commit is contained in:
Martin Weinelt
2026-07-20 17:51:24 +02:00
parent c32d61d0ec
commit efda42ae72

View File

@@ -348,6 +348,19 @@ buildStdenv.mkDerivation {
# https://bugzilla.mozilla.org/show_bug.cgi?id=2046162
./153-cbindgen-0.29.4-compat.patch
]
++
lib.optionals (lib.versionAtLeast version "153" && lib.versionOlder apple-sdk_26.version "26.5")
[
(fetchpatch {
url = "https://github.com/mozilla-firefox/firefox/commit/aeec1ac9fb000105dac8eb7b20de817c5fc231b9.patch";
hash = "sha256-gF4zten+A1kgt2EMXQx77Q6vO+s26ZijgkNAJEZ+aUw=";
revert = true;
includes = [
"build/moz.configure/toolchain.configure"
"python/mozbuild/mozbuild/test/configure/macos_fake_sdk/SDKSettings.plist"
];
})
]
++ extraPatches;
postPatch = ''