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
This commit is contained in:
Eelco Dolstra 2016-04-05 15:30:22 +02:00
parent 80da7a6375
commit d0f5719c2a
9 changed files with 185 additions and 3 deletions

View file

@ -182,6 +182,8 @@ public:
void setSubstituterEnv();
void addSignatures(const Path & storePath, const StringSet & sigs) override;
private:
Path schemaPath;