diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-02-21T15·45+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-02-21T15·45+0000 |
commit | 43c4d18c6a4e1a8b129114439718e26c12b49ca8 (patch) | |
tree | 9e8927fbb240928c5d2f2a9fcee0f366d5630058 /src/libstore/local-store.hh | |
parent | 46e0919ced4646004cc0701b188d0a68e24e8924 (diff) |
* `nix-store --import': import an archive created by `nix-store
--export' into the Nix store, and optionally check the cryptographic signatures against /nix/etc/nix/signing-key.pub. (TODO: verify against a set of public keys.)
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index cae9d5c5367f..76d14c3a694a 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -59,6 +59,8 @@ public: void exportPath(const Path & path, bool sign, Sink & sink); + Path importPath(bool requireSignature, Source & source); + void buildDerivations(const PathSet & drvPaths); void ensurePath(const Path & path); |