diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-05T23·13+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-05T23·13+0000 |
commit | beee18de881040e3d7861be694fc3c66e9bf4159 (patch) | |
tree | 85c92347d64ff24344dea387b1f2969c11be31ec /doc/manual/nix-hash.xml | |
parent | eff573f5638e8eefd682d0a8860728fe53791f22 (diff) |
* Document nix-store --delete.
Diffstat (limited to 'doc/manual/nix-hash.xml')
-rw-r--r-- | doc/manual/nix-hash.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/manual/nix-hash.xml b/doc/manual/nix-hash.xml index 3a28fe4c6b64..227eb9421760 100644 --- a/doc/manual/nix-hash.xml +++ b/doc/manual/nix-hash.xml @@ -39,10 +39,11 @@ available as well. The hash is printed in hexadecimal.</para> <para>The hash is computed over a <emphasis>serialisation</emphasis> of each path: a dump of the file system tree rooted at the path. This allows directories and symlinks to be hashed as well as regular files. -The dump is in the <emphasis>NAR format</emphasis> produced by -<command>nix-store</command> <option>--dump</option>. Thus, -<literal>nix-hash <replaceable>path</replaceable></literal> yields the -same cryptographic hash as <literal>nix-store --dump +The dump is in the <emphasis>NAR format</emphasis> produced by <link +linkend="refsec-nix-store-dump"><command>nix-store</command> +<option>--dump</option></link>. Thus, <literal>nix-hash +<replaceable>path</replaceable></literal> yields the same +cryptographic hash as <literal>nix-store --dump <replaceable>path</replaceable> | md5sum</literal>.</para> </refsection> |