mirror of
https://github.com/NixOS/nix
synced 2025-07-01 08:28:00 +02:00
Merge remote-tracking branch 'obsidian/no-hash-type-unknown' into validPathInfo-ca-proper-datatype
This commit is contained in:
commit
3c78ac348c
16 changed files with 89 additions and 64 deletions
|
@ -722,7 +722,7 @@ static void opVerifyPath(Strings opFlags, Strings opArgs)
|
|||
auto path = store->followLinksToStorePath(i);
|
||||
printMsg(Verbosity::Talkative, "checking path '%s'...", store->printStorePath(path));
|
||||
auto info = store->queryPathInfo(path);
|
||||
HashSink sink(info->narHash.type);
|
||||
HashSink sink(*info->narHash.type);
|
||||
store->narFromPath(path, sink);
|
||||
auto current = sink.finish();
|
||||
if (current.first != info->narHash) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue