Show hash mismatch warnings in SRI format
This commit is contained in:
parent
134942f56a
commit
63c5c91cc0
|
@ -3170,7 +3170,7 @@ void DerivationGoal::registerOutputs()
|
||||||
valid. */
|
valid. */
|
||||||
delayedException = std::make_exception_ptr(
|
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 wanted: %s\n got: %s",
|
||||||
dest, h.to_string(), h2.to_string()));
|
dest, h.to_string(SRI), h2.to_string(SRI)));
|
||||||
|
|
||||||
Path actualDest = worker.store.toRealPath(dest);
|
Path actualDest = worker.store.toRealPath(dest);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue