From bb1034316d7dcafa2ab45762a6b6509e922c4c21 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Mar 2016 14:21:45 +0100 Subject: Don't overload dumpPath() --- src/nix-store/nix-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-store/nix-store.cc') diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 563f0805e08b..1a27230416cc 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -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, -- cgit 1.4.1