One of the big advantages from my perspective is you can cache a lot more effectively throughout the build process when things are deterministic.
Thing is, inputs can be nondeterministic too - some programs (used to) embed the current git commit hash into the final binary so that a `./foo --version` gives a quick and easy way for bug triage to check if the user isn't using a version from years ago.
(Just playing devil’s advocate here.)