I get the same issue - there seems to be a set of breaks with the update to 3.12
I tried an older flake.lock and get the “nose” error. Not found a fix yet and I’m not sure how many packages need python so I can’t create a temporary workaround. It’s late, but my next step would be to try and pin the package - if that works I’ll add to the post