error: … while evaluating a branch condition at «string»:25:5: 24| v: 25| if !builtins.isAttrs v || isDrv v then | ^ 26| v … in the left operand of the OR (||) operator at «string»:25:28: 24| v: 25| if !builtins.isAttrs v || isDrv v then | ^ 26| v … while evaluating definitions from `/nix/store/z8bni15xhz9qxxi9aarih0rydqqbbb7g-source/modules/transposition.nix': … while evaluating definitions from `/nix/store/mxbnp1x56avfm5kp671snf8vmdk4cav7-source/flake.nix, via option perSystem': … while evaluating the option `system.build.toplevel': … while evaluating definitions from `/nix/store/dp0yq0z7hjs3cn36gwm34znzydmpsda0-source/nixos/modules/system/activation/top-level.nix': … while evaluating the option `warnings': … while evaluating definitions from `/nix/store/dp0yq0z7hjs3cn36gwm34znzydmpsda0-source/nixos/modules/system/boot/systemd.nix': … while evaluating the option `systemd.services.mandb.serviceConfig': … while evaluating definitions from `/nix/store/dp0yq0z7hjs3cn36gwm34znzydmpsda0-source/nixos/modules/system/boot/systemd.nix': … while evaluating the option `systemd.services.mandb.script': … while evaluating definitions from `/nix/store/dp0yq0z7hjs3cn36gwm34znzydmpsda0-source/nixos/modules/misc/man-db.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'gtk+-2.24.33' in /nix/store/dp0yq0z7hjs3cn36gwm34znzydmpsda0-source/pkgs/by-name/gt/gtk2/package.nix:155 because it has problems: - broken: gtk2 will be removed because because its final release 2.24.33 happened in December 2020. Packages using it should be migrated to gtk3 or gtk4 before NixOS 27.05. (https://github.com/NixOS/nixpkgs/issues/410814) See also https://nixos.org/manual/nixpkgs/unstable#sec-problems To allow evaluation regardless, use: - Nixpkgs import: import nixpkgs { config = ; } - NixOS: nixpkgs.config = ; - nix-* commands: Put below code in ~/.config/nixpkgs/config.nix { problems.handlers = { "gtk+".broken = "warn"; # or "ignore" }; }