From be3f283a54ccec833e4d33860d045ed483b628bb Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Tue, 9 Sep 2025 21:35:41 -0500 Subject: build: remove legacy Apple SDK frameworks (#2885) Thanks for your work on atuin! I've loved using it over the past year. According to nixos.org[^1], the `darwin.apple_sdk` frameworks have been stubs for some time, and are now removed. Evaluating `atuin` on darwin on `nixpkgs-unstable` results in the following evaluation error: ``` error: darwin.apple_sdk_11_0 has been removed as it was a legacy compatibility stub; see for migration instructions ``` According to those linked docs, the fix is to remove references to these SDKs, which will not have any other effect since they were stubs anyway. [^1]: https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing --- atuin.nix | 5 +---- flake.nix | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/atuin.nix b/atuin.nix index c02a82de..22022835 100644 --- a/atuin.nix +++ b/atuin.nix @@ -10,9 +10,6 @@ installShellFiles, rustPlatform, libiconv, - Security, - SystemConfiguration, - AppKit, }: rustPlatform.buildRustPackage { name = "atuin"; @@ -27,7 +24,7 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [installShellFiles]; - buildInputs = lib.optionals stdenv.isDarwin [libiconv Security SystemConfiguration AppKit]; + buildInputs = lib.optionals stdenv.isDarwin [libiconv]; postInstall = '' installShellCompletion --cmd atuin \ diff --git a/flake.nix b/flake.nix index 8c8175d9..c346cea2 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,6 @@ in { packages.atuin = pkgs.callPackage ./atuin.nix { - inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration AppKit; rustPlatform = let toolchain = -- cgit v1.3.1