mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 13:01:05 +01:00
Alter "wanted:" to "specified:" in hash mismatch output
This makes it even clearer which of the two hashes was specified in the nix files. Some may think that "wanted" and "got" is obvious, but: "got" could mean "got in nix file" and "wanted" could mean "want to see in nix file".
This commit is contained in:
parent
a5019f0508
commit
869c0321ff
3 changed files with 4 additions and 4 deletions
|
|
@ -3157,7 +3157,7 @@ void DerivationGoal::registerOutputs()
|
|||
valid. */
|
||||
worker.hashMismatch = true;
|
||||
delayedException = std::make_exception_ptr(
|
||||
BuildError("hash mismatch in fixed-output derivation '%s':\n wanted: %s\n got: %s",
|
||||
BuildError("hash mismatch in fixed-output derivation '%s':\n specified: %s\n got: %s",
|
||||
worker.store.printStorePath(drvPath),
|
||||
wanted.to_string(SRI, true),
|
||||
got.to_string(SRI, true)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue