daemon: Quote consistently within a string.

* nix/libstore/build.cc (DerivationGoal::registerOutput): ‘’ → `'.
This commit is contained in:
Tobias Geerinckx-Rice 2022-06-05 02:00:00 +02:00
parent e3b94eddf6
commit 0ace58b99c
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -2422,7 +2422,7 @@ void DerivationGoal::registerOutputs()
if (pathExists(dst)) deletePath(dst);
if (rename(actualPath.c_str(), dst.c_str()))
throw SysError(format("renaming `%1%' to `%2%'") % actualPath % dst);
throw Error(format("derivation `%1%' may not be deterministic: output `%2%' differs from %3%")
throw Error(format("derivation `%1%' may not be deterministic: output `%2%' differs from `%3%'")
% drvPath % path % dst);
} else
throw Error(format("derivation `%1%' may not be deterministic: output `%2%' differs")