1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 14:53:16 +02:00

Add 'nix store repair' command

This commit is contained in:
Eelco Dolstra 2021-01-13 23:27:39 +01:00
parent 3da9a9241c
commit 61216d32e1
6 changed files with 66 additions and 5 deletions

View file

@ -604,6 +604,11 @@ public:
virtual ref<FSAccessor> getFSAccessor()
{ unsupported("getFSAccessor"); }
/* Repair the contents of the given path by redownloading it using
a substituter (if available). */
virtual void repairPath(const StorePath & path)
{ unsupported("repairPath"); }
/* Add signatures to the specified store path. The signatures are
not verified. */
virtual void addSignatures(const StorePath & storePath, const StringSet & sigs)