error: … while evaluating a branch condition at «string»:23:10: 22| if !keepName n then {} 23| else if !builtins.isAttrs c || isDrv c then c | ^ 24| else if c ? _type || !(c.recurseForDerivations or true) then {} … in the left operand of the OR (||) operator at «string»:23:33: 22| if !keepName n then {} 23| else if !builtins.isAttrs c || isDrv c then c | ^ 24| else if c ? _type || !(c.recurseForDerivations or true) then {} … while evaluating definitions from `/nix/store/xfg4bws749i95jvnxhymxmfwailzk38q-source/modules/transposition.nix': … while evaluating definitions from `/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/flake-module.nix': … while evaluating definitions from `/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/module-options.nix': … while evaluating the module argument `pkgs' in "/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/module-options.nix": … noting that argument `pkgs` is not externally provided, so querying `_module.args` instead, requiring `config` … while evaluating definitions from `/nix/store/2l0w2riap5nllinmqdqxw2nw2yvy2h7f-source/flake-module.nix': … while evaluating the option `perSystem.x86_64-darwin.treefmt.pkgs': … while evaluating the module argument `pkgs' in ":anon-10:anon-1": … noting that argument `pkgs` is not externally provided, so querying `_module.args` instead, requiring `config` … while evaluating definitions from `/nix/store/xfg4bws749i95jvnxhymxmfwailzk38q-source/modules/transposition.nix': … while evaluating definitions from `/nix/store/495jgsipmq2l12rir1f6kz6csc0k8x52-source/flake.nix, via option perSystem': … while evaluating the module argument `pkgs' in ":anon-11:anon-1": … noting that argument `pkgs` is not externally provided, so querying `_module.args` instead, requiring `config` … while evaluating definitions from `/nix/store/xfg4bws749i95jvnxhymxmfwailzk38q-source/modules/transposition.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Nixpkgs 26.11 has dropped support for x86_64-darwin. The 26.05 stable branch still supports x86_64-darwin, and will receive security fixes until the end of 2026. If you use channels, you can switch to 26.05 as follows: $ sudo nix-channel --add https://nixos.org/channels/nixpkgs-26.05-darwin nixpkgs $ sudo nix-channel --update If this doesn’t work, you may need to run: # Lack of sudo is deliberate: $ nix-channel --remove nixpkgs If you use flakes, switch your flake input: inputs.nixpkgs = { url = "github:NixOS/nixpkgs/nixpkgs-26.05-darwin"; }; See the release notes for more information and alternatives: https://nixos.org/manual/nixpkgs/unstable/release-notes#x86_64-darwin-26.11