Skip to content

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

Merged
nmattia merged 1 commit intonix-community:masterfrom
grahamc:master
Dec 4, 2024
Merged

Drop macOS SDKs that follow "the old way"#335
nmattia merged 1 commit intonix-community:masterfrom
grahamc:master

Conversation

@grahamc
Copy link
Copy Markdown
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
Copy Markdown
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
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