1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Provide base argument to to_string

This commit is contained in:
Matthew Bauer 2020-06-12 10:18:27 -05:00
parent b260c9ee03
commit ea0d29d99a

View file

@ -210,7 +210,7 @@ Hash newHashAllowEmpty(std::string hashStr, HashType ht)
if (hashStr.empty())
{
Hash h(ht);
warn("found empty hash, assuming you wanted '%s'", h.to_string());
warn("found empty hash, assuming you wanted '%s'", h.to_string(SRI));
} else
return Hash(hashStr, ht);
}