diff options
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/dump-path.cc | 2 | ||||
-rw-r--r-- | src/nix/verify.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/dump-path.cc b/src/nix/dump-path.cc index b07c76136..661438a3d 100644 --- a/src/nix/dump-path.cc +++ b/src/nix/dump-path.cc @@ -22,7 +22,7 @@ struct CmdDumpPath : StorePathCommand { logger->pause(); FdSink sink(STDOUT_FILENO); - store->narFromPath(storePath, sink); + sink << store->narFromPath(storePath); sink.flush(); } }; 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(); |