diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 54cce15a6..24576f670 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2297,7 +2297,7 @@ void DerivationGoal::registerOutputs() if (buildMode == bmCheck) { ValidPathInfo info = worker.store.queryPathInfo(path); if (hash.first != info.hash) - throw Error(format("derivation ‘%2%’ may not be deterministic: hash mismatch in output ‘%1%’") % drvPath % path); + throw Error(format("derivation ‘%1%’ may not be deterministic: hash mismatch in output ‘%2%’") % drvPath % path); continue; }