diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-05 15:30:22 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-05 16:39:23 +0200 |
commit | d0f5719c2a2e5a0eea49dc072b26e7d161564bbb (patch) | |
tree | 48589fd3963b008418004a2fca383a29c347e1be /src/libstore/store-api.hh | |
parent | 80da7a637559aadb6544599adc9f5807188cb9e5 (diff) |
Add "nix copy-sigs" command
This imports signatures from one store into another. E.g.
$ nix copy-sigs -r /run/current-system -s https://cache.nixos.org/
imported 595 signatures
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 7c6e4c079..4ea360b9d 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -346,6 +346,10 @@ public: /* Return an object to access files in the Nix store. */ virtual ref<FSAccessor> getFSAccessor() = 0; + /* Add signatures to the specified store path. The signatures are + not verified. */ + virtual void addSignatures(const Path & storePath, const StringSet & sigs) = 0; + /* Utility functions. */ /* Read a derivation, after ensuring its existence through |