From b824a1daeefd1611c8d84432dc0b2b38f24bbbfd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 20 Feb 2007 23:17:20 +0000 Subject: * Start of `nix-store --export' operation for serialising a store path. This is like `nix-store --dump', only it also dumps the meta-information of the store path (references, deriver). Will add a `--sign' flag later to add a cryptographic signature, which we will use for exchanging store paths between build farm machines in a secure manner. --- src/libstore/local-store.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libstore/local-store.hh') diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 83cb87d451a7..cae9d5c5367f 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -56,6 +56,9 @@ public: Path addTextToStore(const string & suffix, const string & s, const PathSet & references); + void exportPath(const Path & path, bool sign, + Sink & sink); + void buildDerivations(const PathSet & drvPaths); void ensurePath(const Path & path); -- cgit 1.4.1