mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Don't overload dumpPath()
This commit is contained in:
parent
712b616a84
commit
bb1034316d
7 changed files with 13 additions and 11 deletions
|
@ -784,7 +784,7 @@ static void opVerifyPath(Strings opFlags, Strings opArgs)
|
|||
printMsg(lvlTalkative, format("checking path ‘%1%’...") % path);
|
||||
ValidPathInfo info = store->queryPathInfo(path);
|
||||
HashSink sink(info.narHash.type);
|
||||
store->dumpPath(path, sink);
|
||||
store->narFromPath(path, sink);
|
||||
auto current = sink.finish();
|
||||
if (current.first != info.narHash) {
|
||||
printMsg(lvlError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue