With ubiquitous high bandwidth and huge disk drives, that doesn't seem to be as much of a problem as it used to be.
For proprietary software, you have to consider the binary as-distributed "source" and build a version with proper dynamic linker an library path. Some third party binary wouldn't run as-is on NixOS, but there is a package that sets correct linking settings post-factum.