From 63a257591b2b27a8cc8e838a10b08d46697a6819 Mon Sep 17 00:00:00 2001 From: Jack Duvall <10897431+duvallj@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:26:53 -0400 Subject: [PATCH] Update shell.nix According to https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks, the darwin.apple_sdk.framework namespace has been deprecated. This commit updates shell.nix to be compatible with the nixos-unstable channel on darwin. Tested by running `nix-shell --pure` and then `make` inside that shell. --- shell.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/shell.nix b/shell.nix index 655780368..43fa08ff8 100644 --- a/shell.nix +++ b/shell.nix @@ -2,7 +2,6 @@ with pkgs; let inherit (lib) optional optionals; inherit (xorg) libX11 libXrandr libXinerama libXcursor libXi libXext; - inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL UniformTypeIdentifiers; harfbuzzWithCoreText = harfbuzz.override {withCoreText = stdenv.isDarwin;}; in with python3Packages; @@ -14,23 +13,13 @@ in lcms2 xxHash simde - go_1_24 + go matplotlib ] ++ optionals stdenv.isDarwin [ - Cocoa - CoreGraphics - Foundation - IOKit - Kernel - OpenGL - UniformTypeIdentifiers libpng zlib ] - ++ lib.optionals (stdenv.isDarwin && (builtins.hasAttr "UserNotifications" darwin.apple_sdk.frameworks)) [ - darwin.apple_sdk.frameworks.UserNotifications - ] ++ optionals stdenv.isLinux [ fontconfig libunistring