buildMozillaMach: prune apple-sdk reverts

The apple-sdk is now on 26.4, which obsoletes all existing patches.
This commit is contained in:
Martin Weinelt
2026-05-15 00:46:02 +02:00
parent 2a7e5c6f1f
commit 9048c1fd7e
@@ -332,25 +332,6 @@ buildStdenv.mkDerivation {
# https://hg-edge.mozilla.org/mozilla-central/rev/aa8a29bd1fb9
./139-wayland-drag-animation.patch
]
# Revert apple sdk bump to 26.1 and 26.2
++
lib.optionals (lib.versionAtLeast version "148" && lib.versionOlder apple-sdk_26.version "26.2")
[
(fetchpatch {
url = "https://github.com/mozilla-firefox/firefox/commit/73cbb9ff0fdbf8b13f38d078ce01ef6ec0794f9c.patch";
hash = "sha256-ghdddJxsaxXzLZpOOfwss+2S/UUcbLqKGzWWqKy9h/k=";
revert = true;
})
]
++
lib.optionals (lib.versionAtLeast version "146" && lib.versionOlder apple-sdk_26.version "26.1")
[
(fetchpatch {
url = "https://github.com/mozilla-firefox/firefox/commit/c1cd0d56e047a40afb2a59a56e1fd8043e448e05.patch";
hash = "sha256-bFHLy3b0jOcROqltIwHwSAqWYve8OZHbiPMOdhLUCLc=";
revert = true;
})
]
++ extraPatches;
postPatch = ''