You need clang-analyzer before clang in `PATH` since the latter’s scan-build program will not be able to find ccc-analyzer program. https://github.com/NixOS/nixpkgs/issues/151367