Instead, figure out VERSION at build-time. This simplifies using overrideDerivation (no need to copy and modify installPhase). Also add a check that the file exists (catch potential failure early).