Skip to content
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

Drop macOS SDKs that follow "the old way" #335

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Dec 4, 2024

Nixpkgs now has much more reasonable handling of macOS SDKs, and this old default is not generally needed for builds anymore.

I think having these SDKs in the inputs is a bit of a nuisance now, since it means there are mixed framework versions in the closure.

See: https://discourse.nixos.org/t/on-the-future-of-darwin-sdks-or-how-you-can-stop-worrying-and-put-the-sdk-in-build-inputs/50574
See: NixOS/nixpkgs#346043

Note: this is also tagged at https://github.com/DeterminateSystems/naersk/releases/tag/apple-sdks for use.

@grahamc grahamc marked this pull request as draft December 4, 2024 16:04
Nixpkgs now has much more reasonable handling of macOS SDKs, and this old default is not generally needed  for builds anymore.

I think having these SDKs in the inputs is a bit of a nuisance now, since it means there are mixed framework versions in the closure.

See: https://discourse.nixos.org/t/on-the-future-of-darwin-sdks-or-how-you-can-stop-worrying-and-put-the-sdk-in-build-inputs/50574
See: NixOS/nixpkgs#346043
@grahamc grahamc marked this pull request as ready for review December 4, 2024 16:36
@nmattia
Copy link
Collaborator

nmattia commented Dec 4, 2024

Oh that's very good news! I haven't been following changes in nixpkgs but this definitely cleans things up a fair bit.

Thanks a lot!

@nmattia nmattia merged commit 378614f into nix-community:master Dec 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants