mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
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:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user