-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: New Darwin SDK pattern migration #354146
Comments
Some recent PRs that made good progress on this: |
cc @NixOS/darwin-maintainers |
Should probably mention that you also want to get rid of Also, re:
These issues will already be present. The new scheme is all that exists; the old stuff is just mostly‐inert shims. Doing the migration won’t break any package that wasn’t already broken (and will fix packages that were broken). |
|
Issue description
As introduced in #346043 and explained fully in https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295, nixpkgs has a new way of handling the Darwin SDK.
As a TL;DR:
Some examples of the migration are:
apple-sdk_${version}
patternoverrideSDK
anddarwin.apple_sdk_11_0.callPackage
Steps to reproduce
You can
grep
for usages of the SDK and it's components tree-wide:For example, to find files using it in
pkgs/by-name
:$ grep -Rl 'darwin.apple_sdk' pkgs/by-name
You may also want to search for specific components, i.e.:
$ grep -Rl 'Security' pkgs/tools/audio
Technical details
Some caution should be taken during the migration:
The new pattern may cause build issuesIt will actually fix some issues! See Tracking: New Darwin SDK pattern migration #354146 (comment)The text was updated successfully, but these errors were encountered: