This commit is contained in:
Eelco Dolstra 2018-03-13 17:48:09 +01:00
parent 80735c4cc9
commit 6e60141a80
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -1189,7 +1189,7 @@ void DerivationGoal::outputsSubstituted()
for (auto & i : drv->inputSrcs) { for (auto & i : drv->inputSrcs) {
if (worker.store.isValidPath(i)) continue; if (worker.store.isValidPath(i)) continue;
if (!settings.useSubstitutes) if (!settings.useSubstitutes)
throw Error(format("dependency of '%1%' of '%2%' does not exist, and substitution is disabled") throw Error(format("dependency '%1%' of '%2%' does not exist, and substitution is disabled")
% i % drvPath); % i % drvPath);
addWaitee(worker.makeSubstitutionGoal(i)); addWaitee(worker.makeSubstitutionGoal(i));
} }