Skip to content

treewide: remove usage of deprecated apple_sdk frameworks#398707

Merged
emilazy merged 1 commit intoNixOS:stagingfrom
booxter:auto-remove-apple-frameworks
Apr 20, 2025
Merged

treewide: remove usage of deprecated apple_sdk frameworks#398707
emilazy merged 1 commit intoNixOS:stagingfrom
booxter:auto-remove-apple-frameworks

Conversation

@booxter
Copy link
Contributor

@booxter booxter commented Apr 14, 2025

They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka [email protected]

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: emacs Text editor 6.topic: printing Drivers, CUPS & Co. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 6.topic: vim Advanced text editor 6.topic: erlang General-purpose, concurrent, functional high-level programming language 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: R R is a programming language for statistical computing and data visualization. 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 6.topic: games Gaming on NixOS 6.topic: php PHP is a general-purpose scripting language geared towards web development. 6.topic: dotnet Language: .NET 6.topic: tcl Dynamic, multi-paradigm programming language 8.has: documentation This PR adds or changes documentation labels Apr 14, 2025
@booxter booxter force-pushed the auto-remove-apple-frameworks branch 2 times, most recently from 83a4e3c to bf73b17 Compare April 14, 2025 23:42
@github-actions github-actions bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. labels Apr 14, 2025
@emilazy
Copy link
Member

emilazy commented Apr 15, 2025

(I hope to review mechanically this week. Thanks for this!)

@booxter booxter marked this pull request as ready for review April 15, 2025 00:14
@booxter booxter force-pushed the auto-remove-apple-frameworks branch 2 times, most recently from 5345631 to 24b0967 Compare April 15, 2025 13:01
samrose pushed a commit to supabase/postgres that referenced this pull request Sep 2, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
samrose pushed a commit to supabase/postgres that referenced this pull request Sep 9, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
samrose pushed a commit to supabase/postgres that referenced this pull request Sep 10, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
samrose pushed a commit to supabase/postgres that referenced this pull request Sep 17, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
jfroche added a commit to jfroche/nix-eval-jobs that referenced this pull request Oct 7, 2025
We need NixOS/nix#13976 to be able to build on
darwin with a recent version of nixpkgs (after
NixOS/nixpkgs#398707).
jfroche added a commit to jfroche/nix-eval-jobs that referenced this pull request Oct 7, 2025
We need NixOS/nix#13976 to be able to build on
darwin with a recent version of nixpkgs (after
NixOS/nixpkgs#398707).
Mic92 pushed a commit to NixOS/nix-eval-jobs that referenced this pull request Oct 14, 2025
We need NixOS/nix#13976 to be able to build on
darwin with a recent version of nixpkgs (after
NixOS/nixpkgs#398707).
samrose pushed a commit to supabase/postgres that referenced this pull request Nov 18, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
samrose pushed a commit to supabase/postgres that referenced this pull request Nov 18, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Nov 21, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Nov 25, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Nov 25, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Nov 25, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
jfroche added a commit to supabase/postgres that referenced this pull request Nov 26, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Nov 26, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 1, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 2, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 3, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 4, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 4, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 7, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
yvan-sraka pushed a commit to supabase/postgres that referenced this pull request Dec 8, 2025
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 6.topic: dotnet Language: .NET 6.topic: emacs Text editor 6.topic: erlang General-purpose, concurrent, functional high-level programming language 6.topic: games Gaming on NixOS 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: php PHP is a general-purpose scripting language geared towards web development. 6.topic: printing Drivers, CUPS & Co. 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: R R is a programming language for statistical computing and data visualization. 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 6.topic: tcl Dynamic, multi-paradigm programming language 6.topic: vim Advanced text editor 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[enhancement] Cleanup Darwin-related stuff from Emacs derivation

2 participants