How to get to failed nix-shell build files?

I’m trying to debug this issue myself, but I can’t seem to find the build outputs. I don’t see any nix-shell flags to keep the output, and --verbose --verbose --verbose --verbose doesn’t make the issue any clearer.