mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 02:09:36 +01:00
Provide a structured JSON serialisation of hashes
This commit is contained in:
parent
2a2af3f72f
commit
c515bc66f1
3 changed files with 19 additions and 2 deletions
|
|
@ -2659,8 +2659,8 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
|
|||
act->result(resHashMismatch,
|
||||
{
|
||||
{"storePath", worker.store.printStorePath(drvPath)},
|
||||
{"wanted", wanted.to_string(HashFormat::SRI, true)},
|
||||
{"got", got.to_string(HashFormat::SRI, true)},
|
||||
{"wanted", wanted},
|
||||
{"got", got},
|
||||
});
|
||||
}
|
||||
if (!newInfo0.references.empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue