about summary refs log tree commit diff
path: root/nixpkgs/doc/functions/generators.section.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/functions/generators.section.md')
-rw-r--r--nixpkgs/doc/functions/generators.section.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/doc/functions/generators.section.md b/nixpkgs/doc/functions/generators.section.md
index 8b3ae6843a22..dbfc302a3abf 100644
--- a/nixpkgs/doc/functions/generators.section.md
+++ b/nixpkgs/doc/functions/generators.section.md
@@ -6,8 +6,9 @@ All generators follow a similar call interface: `generatorName configFunctions d
 Generators can be fine-tuned to produce exactly the file format required by your application/service. One example is an INI-file format which uses `: ` as separator, the strings `"yes"`/`"no"` as boolean values and requires all string values to be quoted:
 
 ```nix
-with lib;
 let
+  inherit (lib) generators isString;
+
   customToINI = generators.toINI {
     # specifies how to format a key/value pair
     mkKeyValue = generators.mkKeyValueDefault {