aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-23 00:47:16 +0100
committereldritch horrors <pennae@lix.systems>2024-07-05 22:28:16 +0000
commit06220a71c1430c97bfcd8012b00530a987e40e97 (patch)
tree69f230d669db2804379a33fc1ec6e3d3fc908c67 /src/libcmd
parentb51ea465de48e4c5516ba0182cc642b4e644be10 (diff)
libstore: convert dumpPath to a generator
Change-Id: Ic4cf5562504aa29130304469936f958c0426e5ef
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/cmd-profiles.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/cmd-profiles.cc b/src/libcmd/cmd-profiles.cc
index 101064956..8a04100f6 100644
--- a/src/libcmd/cmd-profiles.cc
+++ b/src/libcmd/cmd-profiles.cc
@@ -244,7 +244,7 @@ StorePath ProfileManifest::build(ref<Store> store)
/* Add the symlink tree to the store. */
StringSink sink;
- dumpPath(tempDir, sink);
+ sink << dumpPath(tempDir);
auto narHash = hashString(htSHA256, sink.s);