From 642a2ba288ac47cc151338329d3fa01f09cd0303 Mon Sep 17 00:00:00 2001 From: Wesley Nelson Date: Wed, 11 Nov 2026 13:42:41 -0800 Subject: [PATCH] nix: drop removed darwin.apple_sdk frameworks from dev shell nixpkgs removed darwin.apple_sdk, so on macOS evaluating the dev shell with the pinned nixpkgs fails with "darwin.apple_sdk_11_0 has been removed as it was a legacy compatibility stub". The Darwin stdenv now ships the default macOS SDK with all its frameworks, so the shell no longer needs to list Security itself. libiconv stays. flake-utils has no nixpkgs input, so its follows override only produced a warning; drop it too. flake.lock is unchanged. --- flake.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index ddc1849..ac7ea1e 100644 --- a/flake.nix +++ b/flake.nix @@ -11,10 +11,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - flake-utils = { - url = "github:numtide/flake-utils"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, fenix-flake, flake-utils }: @@ -124,7 +121,6 @@ ] ++ lib.optionals stdenv.isDarwin [ # nix darwin stdenv has broken libiconv: https://github.com/NixOS/nixpkgs/issues/158331 libiconv - pkgs.darwin.apple_sdk.frameworks.Security ]; }; });