Seems to be related to separateDebugInfo: add symlinks to executable and source for debuginfod support by symphorien · Pull Request #394674 · NixOS/nixpkgs · GitHub, or at least some behavior that said PR documents.
You do need to share the full error to get help though.