mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Add 'nix store repair' command
This commit is contained in:
parent
3da9a9241c
commit
61216d32e1
6 changed files with 66 additions and 5 deletions
|
@ -757,7 +757,7 @@ static void opRepairPath(Strings opFlags, Strings opArgs)
|
|||
throw UsageError("no flags expected");
|
||||
|
||||
for (auto & i : opArgs)
|
||||
ensureLocalStore()->repairPath(store->followLinksToStorePath(i));
|
||||
store->repairPath(store->followLinksToStorePath(i));
|
||||
}
|
||||
|
||||
/* Optimise the disk space usage of the Nix store by hard-linking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue