aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-fs-store.cc
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/libstore/local-fs-store.cc
parentb51ea465de48e4c5516ba0182cc642b4e644be10 (diff)
libstore: convert dumpPath to a generator
Change-Id: Ic4cf5562504aa29130304469936f958c0426e5ef
Diffstat (limited to 'src/libstore/local-fs-store.cc')
-rw-r--r--src/libstore/local-fs-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-fs-store.cc b/src/libstore/local-fs-store.cc
index 56f13920c..a16e0ba73 100644
--- a/src/libstore/local-fs-store.cc
+++ b/src/libstore/local-fs-store.cc
@@ -82,7 +82,7 @@ void LocalFSStore::narFromPath(const StorePath & path, Sink & sink)
{
if (!isValidPath(path))
throw Error("path '%s' does not exist in store", printStorePath(path));
- dumpPath(getRealStoreDir() + std::string(printStorePath(path), storeDir.size()), sink);
+ sink << dumpPath(getRealStoreDir() + std::string(printStorePath(path), storeDir.size()));
}
const std::string LocalFSStore::drvsLogDir = "drvs";