aboutsummaryrefslogtreecommitdiff
path: root/src/nix/verify.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/verify.cc')
-rw-r--r--src/nix/verify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/verify.cc b/src/nix/verify.cc
index 9be4c25dc..eb68e67bc 100644
--- a/src/nix/verify.cc
+++ b/src/nix/verify.cc
@@ -100,7 +100,7 @@ struct CmdVerify : StorePathsCommand
auto hashSink = HashSink(info->narHash.type);
- store->narFromPath(info->path, hashSink);
+ hashSink << store->narFromPath(info->path);
auto hash = hashSink.finish();