about summary refs log tree commit diff
path: root/doc/manual/nix-hash.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/nix-hash.xml')
-rw-r--r--doc/manual/nix-hash.xml9
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>