aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-22 14:21:45 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-22 14:21:45 +0100
commitbb1034316d7dcafa2ab45762a6b6509e922c4c21 (patch)
tree7da0208e56ea292fc09910308f9f891002e6bf21 /src/nix-store/nix-store.cc
parent712b616a8443b940e94ac443499246f4de6ee5cd (diff)
Don't overload dumpPath()
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 563f0805e..1a2723041 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,