Document ‘--repair’

This commit is contained in:
Eelco Dolstra 2012-10-03 15:53:25 -04:00
parent 2bbc4a214e
commit 9c41c66c5b
3 changed files with 32 additions and 6 deletions

View file

@ -21,8 +21,14 @@
<listitem>
<para>The new operation <command>nix-store --repair-path</command>
allows corrupted or deleted store paths to be repaired by
redownloading them.</para>
allows corrupted or missing store paths to be repaired by
redownloading them. <command>nix-store --verify --check-contents
--repair</command> will scan and repair all paths in the Nix
store. Similarly, <command>nix-env</command>,
<command>nix-build</command>, <command>nix-instantiate</command>
and <command>nix-store --realise</command> have a
<option>--repair</option> flag to detect and fix bad paths by
rebuilding or redownloading them.</para>
</listitem>
<listitem>