From 8b11147e08e28bc09e4b9fb2e559a346641b42d6 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 27 Nov 2025 20:08:28 -0500 Subject: [PATCH 1/2] doc/stdenv/platform-notes: add Xcode 26 to the SDK version table (cherry picked from commit ad49226f57f2e29e23a6b368fd311144229ccf34) --- doc/stdenv/platform-notes.chapter.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/stdenv/platform-notes.chapter.md b/doc/stdenv/platform-notes.chapter.md index 99d7cf33fa48..e8b99f234bba 100644 --- a/doc/stdenv/platform-notes.chapter.md +++ b/doc/stdenv/platform-notes.chapter.md @@ -117,10 +117,11 @@ The following is a list of Xcode versions, the SDK version in Nixpkgs, and the a Check your package’s documentation (platform support or installation instructions) to find which Xcode or SDK version to use. Generally, only the last SDK release for a major version is packaged. -| Xcode version | SDK version | Nixpkgs attribute | -|--------------------|--------------------|-------------------------------| -| 15.0–15.4 | 14.4 | `apple-sdk_14` / `apple-sdk` | -| 16.0 | 15.0 | `apple-sdk_15` | +| Xcode version | SDK version | Nixpkgs attribute | +|---------------|-------------|------------------------------| +| 15.0–15.4 | 14.4 | `apple-sdk_14` / `apple-sdk` | +| 16.0 | 15.0 | `apple-sdk_15` | +| 26.0+ | 26.0+ | `apple-sdk_26`, etc | #### Darwin Default SDK versions {#sec-darwin-troubleshooting-darwin-defaults} From 367c040e7a1eb40546a8dd4b7ea58d4845a24655 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 27 Nov 2025 20:08:28 -0500 Subject: [PATCH 2/2] doc/stdenv/platform-notes: update default minimum and SDK versions (cherry picked from commit 8cb151b37a105486d41cc3cc704d15d1c8be2cf5) --- doc/stdenv/platform-notes.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdenv/platform-notes.chapter.md b/doc/stdenv/platform-notes.chapter.md index e8b99f234bba..2aeee55ba2cd 100644 --- a/doc/stdenv/platform-notes.chapter.md +++ b/doc/stdenv/platform-notes.chapter.md @@ -130,7 +130,7 @@ The current default version of the SDK and deployment target (minimum supported Because of the ways that minimum version and SDK can be changed that are not visible to Nix, they should be treated as lower bounds. If you need to parameterize over a specific version, create a function that takes the version as a parameter instead of relying on these attributes. -On macOS, the `darwinMinVersion` and `darwinSdkVersion` are always the same, and are currently set to 11.3. +On macOS, the `darwinMinVersion` is 14.0, and the `darwinSdkVersion` is 14.4. #### `xcrun` cannot find a binary {#sec-darwin-troubleshooting-xcrun}