buildMozillaMach: apple-sdk_14 -> apple-sdk_15 starting with version 138

0:01.18 ERROR: SDK version "14.4" is too old. Please upgrade to at
least 15.2. Try updating your system Xcode. Newer versions of firefox
require apple-sdk_15.
This commit is contained in:
Austin Horstman
2025-04-20 15:42:51 -05:00
parent c112db2c31
commit 236773740b
@@ -98,6 +98,7 @@ in
# Darwin
apple-sdk_14,
apple-sdk_15,
cups,
rsync, # used when preparing .app directory
@@ -578,7 +579,7 @@ buildStdenv.mkDerivation {
zip
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_14
(if lib.versionAtLeast version "138" then apple-sdk_15 else apple-sdk_14)
cups
]
++ (lib.optionals (!stdenv.hostPlatform.isDarwin) (