about summary refs log tree commit diff
path: root/doc/manual/opt-common.xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T19·53-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T19·53-0400
commit9c41c66c5b877dbb529f6147b28384a57a591895 (patch)
tree5c0981b91e6e0c3be385a978c2a3bbedad994c1e /doc/manual/opt-common.xml
parent2bbc4a214ee998816921cefb2d69f30d5f277d12 (diff)
Document ‘--repair’
Diffstat (limited to 'doc/manual/opt-common.xml')
-rw-r--r--doc/manual/opt-common.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/opt-common.xml b/doc/manual/opt-common.xml
index 0b57517670be..72971bd6a7d5 100644
--- a/doc/manual/opt-common.xml
+++ b/doc/manual/opt-common.xml
@@ -361,6 +361,17 @@
 </varlistentry>
 
 
+<varlistentry><term><option>--repair</option></term>
+
+  <listitem><para>Fix corrupted or missing store paths by
+  redownloading or rebuilding them.  Note that this is slow because it
+  requires computing a cryptographic hash of the contents of every
+  path in the closure of the build.  Also note the warning under
+  <command>nix-store --repair-path</command>.</para></listitem>
+
+</varlistentry>
+
+
 </variablelist>