1error:2 … while evaluating a branch condition3 at «string»:23:10:4 22| if !keepName n then {}5 23| else if !builtins.isAttrs c || isDrv c then c6 | ^7 24| else if c ? _type || !(c.recurseForDerivations or true) then {}89 … in the left operand of the OR (||) operator10 at «string»:23:33:11 22| if !keepName n then {}12 23| else if !builtins.isAttrs c || isDrv c then c13 | ^14 24| else if c ? _type || !(c.recurseForDerivations or true) then {}1516 … while evaluating definitions from `/nix/store/hqh4dp94r41rk0k4b9b6v804nrlwmij8-source/modules/transposition.nix':1718 … while evaluating the option `perSystem.x86_64-linux.checks':1920 … while evaluating definitions from `/nix/store/dv1755qpy6arv5l572qrc5p2p56ss74r-source/flake.nix, via option perSystem':2122 … while evaluating the module argument `self'' in ":anon-12:anon-1":2324 … noting that argument `self'` is not externally provided, so querying `_module.args` instead, requiring `config`2526 … while evaluating definitions from `/nix/store/hqh4dp94r41rk0k4b9b6v804nrlwmij8-source/modules/perSystem.nix':2728 … while retrieving system-dependent attributes for a flake's own outputs2930 … while evaluating definitions from `/nix/store/hqh4dp94r41rk0k4b9b6v804nrlwmij8-source/modules/formatter.nix':3132 … while evaluating the option `flake.formatter':3334 … while evaluating definitions from `/nix/store/hqh4dp94r41rk0k4b9b6v804nrlwmij8-source/modules/formatter.nix':3536 … while evaluating the option `perSystem.x86_64-darwin.formatter':3738 … while evaluating the option `perSystem.x86_64-darwin.treefmt.build.wrapper':3940 … while evaluating the module argument `pkgs' in "/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/module-options.nix":4142 … noting that argument `pkgs` is not externally provided, so querying `_module.args` instead, requiring `config`4344 … while evaluating definitions from `/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/flake-module.nix':4546 … while evaluating the option `perSystem.x86_64-darwin.treefmt.pkgs':4748 … while evaluating the module argument `pkgs' in ":anon-10:anon-1":4950 … noting that argument `pkgs` is not externally provided, so querying `_module.args` instead, requiring `config`5152 … while evaluating definitions from `/nix/store/hqh4dp94r41rk0k4b9b6v804nrlwmij8-source/modules/transposition.nix':5354 (stack trace truncated; use '--show-trace' to show the full, detailed trace)5556 error: Nixpkgs 26.11 has dropped support for x86_64-darwin.5758 The 26.05 stable branch still supports x86_64-darwin, and will59 receive security fixes until the end of 2026. If you use channels,60 you can switch to 26.05 as follows:6162 $ sudo nix-channel --add https://nixos.org/channels/nixpkgs-26.05-darwin nixpkgs63 $ sudo nix-channel --update6465 If this doesn’t work, you may need to run:6667 # Lack of sudo is deliberate:68 $ nix-channel --remove nixpkgs6970 If you use flakes, switch your flake input:7172 inputs.nixpkgs = {73 url = "github:NixOS/nixpkgs/nixpkgs-26.05-darwin";74 };7576 See the release notes for more information and alternatives:7778 https://nixos.org/manual/nixpkgs/unstable/release-notes#x86_64-darwin-26.11