aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 186437f43..91a8ef2ca 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -577,9 +577,9 @@ public:
{ return registerDrvOutput(output); }
/**
- * Write a NAR dump of a store path.
+ * Generate a NAR dump of a store path.
*/
- virtual void narFromPath(const StorePath & path, Sink & sink) = 0;
+ virtual WireFormatGenerator narFromPath(const StorePath & path) = 0;
/**
* For each path, if it's a derivation, build it. Building a