Commit Graph

21 Commits

Author SHA1 Message Date
Randy Eckenrode
a81408d15c apple-sdk_26: 26.4 -> 26.5 2026-05-17 13:20:59 -04:00
Randy Eckenrode
2664d28566 apple-sdk: 26.0 -> 26.4 2026-04-22 18:06:36 -04:00
Randy Eckenrode
f6f50b0979 apple-sdk.sourceRelease: make an alias of darwin.sourceRelease 2026-04-18 00:39:07 -04:00
Wolfgang Walther
4dd2f20130 Merge staging-next into staging 2025-10-24 09:27:24 +02:00
Sam
23c079624b apple-sdk_26: init 2025-10-23 12:18:56 -07:00
Randy Eckenrode
0f6b88a896 apple-sdk_{11,12,13}: drop
The minimum supported version for 25.11 is 14.0. Drop the old SDKs
because they are for versions prior to that.
2025-10-09 18:23:32 -04:00
Emily
53ac93da0a apple-sdk_15: 15.2 -> 15.5 2025-09-15 19:24:08 +01:00
nixpkgs-ci[bot]
9a807b1916 Merge master into staging-next 2025-03-11 17:36:38 +00:00
Allison Bentley
6feabbdbdd apple-sdk: add multiple URLs for fetching SDK, prioritizing apple CDN 2025-03-03 11:40:18 +00:00
Emily
0cfeec58f6 apple-sdk: don’t remove LDAP framework headers
Apple ships a 13‐year‐old fork of OpenLDAP. The very few things
that use it, like Meson tests, have been adding dependencies on
our up‐to‐date OpenLDAP package to get headers. That’s not
reliable to mix with the `.tbd` Apple ships, and pulls OpenLDAP into
the bootstrap unnecessarily.

We continue to strip the `.dylib`s to avoid accidental dependencies
on the old version. Packages can still link to Apple’s version with
`-framework LDAP`. As very little seems to want the system version,
hopefully this won’t have any major compatibility impact.
2025-02-25 19:30:34 +00:00
Emily
e8ad14c5a2 apple-sdk_15: 15.0 -> 15.2 2025-02-11 01:16:50 +00:00
Emily
8f6d2b14ef apple-sdk_{11,12,13,14}: use Wayback Machine URLs
Apple like to remove old minor releases of the SDK when bumping to a
new one. Our current 15.0 SDK is already gone. Since these are all
the last minor version of their major version, they’re probably
not at risk of imminent deletion, but given their general practices
it makes sense to guard against, especially as we can’t be sure
ahead of time what the last minor version will be.
2025-02-11 01:16:50 +00:00
Emily
f3c863877b apple-sdk_{10_12,10_13,10_14,10_15}: drop
These can no longer be used now that the minimum is 11.3.
2024-11-18 00:05:22 +00:00
Emily
4bab86f588 apple-sdk_15: init at 15.0 2024-10-11 07:19:38 +01:00
Randy Eckenrode
8fae28553a apple-sdk_14: init at 14.4 2024-10-10 16:22:58 -04:00
Randy Eckenrode
4283b8f00a apple-sdk_13: init at 13.3 2024-10-10 16:22:58 -04:00
Randy Eckenrode
689e8980bc apple-sdk_12: init at 12.3 2024-10-10 16:22:58 -04:00
Randy Eckenrode
d10c85b19b apple-sdk_10_15: init at 10.15.6 2024-10-10 16:22:58 -04:00
Randy Eckenrode
a447cba849 apple-sdk_10_14: init at 10.14.6 2024-10-10 16:22:58 -04:00
Randy Eckenrode
3fb982d0e2 apple-sdk_10_13: init at 10.13.2 2024-10-10 16:22:58 -04:00
Randy Eckenrode
556790248f apple-sdk: init at 10.12.2 and 11.3
This is a new packaging of the Darwin SDK. Instead of splitting
libraries and frameworks into separate packages, it provides a single
package for the whole SDK.

# Features

- Vendored files are removed from the SDK. There are 50+ different
  packages that are vendored by upstream (depending on the version);
- Components that are built in nixpkgs (either from upstream or from the
  source releases) are also removed. If they need to be included by
  default, they are propagated;
- A single SDK pattern is used to package all SDKs, and scripts are
  provided to aid updating the SDK version and its source release
  versions. This makes adding new SDKs much easier;
- SDK overrides are handled by adding the SDK version you require. If
  multiple SDKs are present, only the newest is used. It is possible to
  have different SDKs for each of build, host, and target platforms;
- Private headers are no longer provided by default unless you use the
  SDK’s `privateFrameworksHook` to add them. It does the right thing
  when multiple SDKs are in your inputs;
- Source releases for the SDK version are available via a passthru
  `sourceRelease` function. This is mostly useful for getting private
  headers for building source releases in the darwin attrset; and
- The same versions of propagated components are used on both platforms
  (e.g., the same libresult, libiconv, etc).

See `pkgs/by-name/ap/apple-sdk/README.md` for details on how the SDK
derivation is structured and how to update it.
2024-10-10 16:22:58 -04:00