about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/using/configuration.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/using/configuration.xml b/doc/using/configuration.xml
index 1f0b824a0f6c..f4d6e9110064 100644
--- a/doc/using/configuration.xml
+++ b/doc/using/configuration.xml
@@ -216,7 +216,7 @@
      The following configuration example only allows insecure packages with very short names:
 <programlisting>
 {
-  allowInsecurePredicate = (pkg: (builtins.stringLength (lib.getName pkg) &lt;= 5);
+  allowInsecurePredicate = pkg: builtins.stringLength (lib.getName pkg) &lt;= 5;
 }
 </programlisting>
     </para>