about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-12-11T16·29+0100
committerGitHub <noreply@github.com>2017-12-11T16·29+0100
commit06d4566c2d3662f86905f3925f5c4620e142efef (patch)
tree863d31097cbc55d50e1fa82ce13cc473ab9b710d /doc
parent5ba5ca78881173e5e23bfb3295a17561c6530c8b (diff)
parent35a49f1d7fad32ab2668a9acd0dc18fb191dde8c (diff)
Merge pull request #1721 from expipiplus1/patch-2
Escape left angle brackets in XML documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-hash.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/command-ref/nix-hash.xml b/doc/manual/command-ref/nix-hash.xml
index 8d8213c0bca8..80263e18e339 100644
--- a/doc/manual/command-ref/nix-hash.xml
+++ b/doc/manual/command-ref/nix-hash.xml
@@ -126,9 +126,9 @@ cryptographic hash as <literal>nix-store --dump
 
 <para>Computing the same hash as <command>nix-prefetch-url</command>:
 <screen>
-$ nix-prefetch-url file://<(echo test)
+$ nix-prefetch-url file://&lt;(echo test)
 1lkgqb6fclns49861dwk9rzb6xnfkxbpws74mxnx01z9qyv1pjpj
-$ nix-hash --type sha256 --flat --base32 <(echo test)
+$ nix-hash --type sha256 --flat --base32 &lt;(echo test)
 1lkgqb6fclns49861dwk9rzb6xnfkxbpws74mxnx01z9qyv1pjpj
 </screen>
 </para>