diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-23 00:47:16 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-07-05 22:28:16 +0000 |
commit | 06220a71c1430c97bfcd8012b00530a987e40e97 (patch) | |
tree | 69f230d669db2804379a33fc1ec6e3d3fc908c67 /src/nix/hash.cc | |
parent | b51ea465de48e4c5516ba0182cc642b4e644be10 (diff) |
libstore: convert dumpPath to a generator
Change-Id: Ic4cf5562504aa29130304469936f958c0426e5ef
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r-- | src/nix/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc index 66c5516e7..8d4bc7826 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -88,7 +88,7 @@ struct CmdHashBase : Command readFileSource(path)->drainInto(*hashSink); break; case FileIngestionMethod::Recursive: - dumpPath(path, *hashSink); + *hashSink << dumpPath(path); break; } |