doc: Fix and clarify allowInsecurePredicate example

I had made inbalanced parens. Remove unneeded parens for legibility too.
This commit is contained in:
John Ericson 2019-11-24 17:36:17 +00:00
parent 9b090ccbca
commit 97baa2e21b

View File

@ -272,7 +272,7 @@
very short names:
<programlisting>
{
allowInsecurePredicate = (pkg: (builtins.stringLength (lib.getName pkg) &lt;= 5);
allowInsecurePredicate = pkg: builtins.stringLength (lib.getName pkg) &lt;= 5;
}
</programlisting>
</para>