#TIL about one of the most useful tools for #nix and #nixos - https://github.com/samestep/npc
It is basically a git bisect but for nix channels. It also has great flake support. Just run npc bisect until you find the #nixpkgs version that works and it will automatically fix it in your flake.lock.
The issue for me was #devenv package being broken in the latest nixpkgs-stable release (https://github.com/NixOS/nixpkgs/issues/459720). It turns out ghidra build results are not used to determine the package status and the possibility to commit the new version to master branch.
I think this tool is a game changer, especially if you use nixpkgs-unstable