diff options
Diffstat (limited to 'src/nix/add-to-store.cc')
-rw-r--r-- | src/nix/add-to-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc index 7dbbbcc56..f7e3212be 100644 --- a/src/nix/add-to-store.cc +++ b/src/nix/add-to-store.cc @@ -30,7 +30,7 @@ struct CmdAddToStore : MixDryRun, StoreCommand if (!namePart) namePart = baseNameOf(path); StringSink sink; - dumpPath(path, sink); + sink << dumpPath(path); auto narHash = hashString(htSHA256, sink.s); |