Like others have said here, nix2container and flakes seem like they would address every problem they have.
With regard to versioning, I have flakes written 3 years ago that still build with exactly the same versions and the same output as when it was first written.
Sure does sound like that want to go to market and raise off a platform :D
Edit: Literally just checked nixpacks’ github and it immediately jumped out to me that they are using rustPlatform in nixpkgs, not oxalica’s rust-overlay[0] which would have come up in any cursory search for the rust issues. And is one of the most useful and powerful overlays I’ve used.