3
0
Fork 0
forked from mirrors/nixpkgs

nixos: Fix build of manual

Broken by 17389e256f.

The description attributes of mkOption are parsed by XSLT, so we can
create a DocBook manual out of it.

Unfortunately, the passwordHash option had a description which includes
a <password> placeholder which is recognized by DocBook XSL as a valid
start tag. So as there is obviously no </password>, the build of the
manual bailed out with a parsing error.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
This commit is contained in:
aszlig 2016-03-03 21:31:00 +01:00
parent 9e2eaa2755
commit 6cf6c3fbc9
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -172,7 +172,8 @@ in
default = null;
example = "$6$GtzE7FrpE$wwuVgFYU.TZH4Rz.Snjxk9XGua89IeVwPQ/fEUD8eujr40q5Y021yhn0aNcsQ2Ifw.BLclyzvzgegopgKcneL0";
description = ''
SHA-512 password hash (can be generated by 'mkpasswd -m sha-512 <password>')
SHA-512 password hash (can be generated by
<code>mkpasswd -m sha-512 &lt;password&gt;</code>)
'';
};