* pip is not guaranteed to get you to a working state even if you run the same commands, so don't even think about it
And more. In my experience, depending on the quality of the packages you happen to be consuming, you may end up with a container twice as large as a comparable (say, Alpine) container. For example, I once tried to bring git into my Nix container and was surprised to see over 300MB in increased size.
After having built Nix containers exclusively for a year now, I wouldn't really recommend it to others unless you're willing to invest a lot of additional time cleaning up community packages.
Another great thing is that you can can easily modify existing package to remove some of their dependencies that you don't use.
This is shown here with packaging redis into a container here and making it 3x smaller than the alpine version: https://nixos.org/#asciinema-demo-cover
There's of course possibility that someone specified build dependency as a runtime dependency, but if that was done that's a bug.