diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 006e4ebbbb..10a6093bd5 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -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")