diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-07T15·51+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-04-07T15·51+0000 |
commit | b9d8ecbc6a76779d0c63729a21628965cafcc4cc (patch) | |
tree | ec739f66295a9bca3eeabc71360cea71325e318c /doc/manual/nix-store.xml | |
parent | 7d876f8fa7b6c3ce120a66b59f69b70ae526538b (diff) |
* More doc updates.
Diffstat (limited to 'doc/manual/nix-store.xml')
-rw-r--r-- | doc/manual/nix-store.xml | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index c67e20266ff5..0fec253bd974 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -189,7 +189,7 @@ linkend="sec-nix-build"><command>nix-build</command></link> does.</para> <cmdsynopsis> <command>nix-store</command> <arg choice='plain'><option>--gc</option></arg> - <group choice='req'> + <group> <arg choice='plain'><option>--print-roots</option></arg> <arg choice='plain'><option>--print-live</option></arg> <arg choice='plain'><option>--print-dead</option></arg> @@ -451,7 +451,7 @@ most one query can be specified. The default query is <cmdsynopsis> <command>nix-store</command> - <arg choice='req'><option>--register-validity</option></arg> + <arg choice='plain'><option>--register-validity</option></arg> </cmdsynopsis> </refsection> @@ -473,7 +473,7 @@ most one query can be specified. The default query is <cmdsynopsis> <command>nix-store</command> - <arg choice='req'><option>--substitute</option></arg> + <arg choice='plain'><option>--substitute</option></arg> <arg choice='plain' rep='repeat'><replaceable>srcpath</replaceable> <replaceable>subpath</replaceable></arg> </cmdsynopsis> @@ -501,7 +501,8 @@ deployment.</para> <title>Synopsis</title> <cmdsynopsis> <command>nix-store</command> - <arg choice='req'><option>--verify</option></arg> + <arg choice='plain'><option>--verify</option></arg> + <arg><option>--check-contents</option></arg> </cmdsynopsis> </refsection> @@ -514,6 +515,25 @@ automatically repaired. Inconsistencies are generally the result of the Nix store or database being modified by non-Nix tools, or of bugs in Nix itself.</para> +<para>There is one option: + +<variablelist> + + <varlistentry><term><option>--check-contents</option></term> + + <listitem><para>Checks that the contents of every valid store path + has not been altered by computing a SHA-256 hash of the contents + and comparing it with the hash stored in the Nix database at build + time. Paths that have been modified are printed out. For large + stores, <option>--check-contents</option> is obviously quite + slow.</para></listitem> + + </varlistentry> + +</variablelist> + +</para> + </refsection> </refsection> |