Skip to content

fix: use stdenv.hostPlatform.isDarwin in comfy-kitchen override - #125

Open
Daniil-Makarov wants to merge 1 commit into
utensils:mainfrom
Daniil-Makarov:fix/stdenv-hostplatform-isdarwin
Open

Daniil-Makarov wants to merge 1 commit into
utensils:mainfrom
Daniil-Makarov:fix/stdenv-hostplatform-isdarwin

Conversation

@Daniil-Makarov

Copy link
Copy Markdown

The comfy-kitchen override in nix/vendored-packages.nix still reads
pkgs.stdenv.isDarwin, which nixpkgs now deprecates, so every
evaluation that pulls in comfy-kitchen (including downstream NixOS
configs using the overlay) prints:

evaluation warning: stdenv.isDarwin is deprecated, use stdenv.hostPlatform.isDarwin instead

This moves the check to stdenv.hostPlatform, reusing the
useDarwinArm64 name from nix/python-overrides.nix.

No functional change: packages.{x86_64-linux,aarch64-darwin}.default
drvPaths are identical before and after, evaluation passes with
--option abort-on-warn true, and nixfmt --check is clean.

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
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.

1 participant