about summary refs log tree commit diff
path: root/doc/functions
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-06 13:35:43 -0800
committerGitHub <noreply@github.com>2024-03-06 22:35:43 +0100
commit86ae7a6243810da69ee04483a48cac17a9e49448 (patch)
tree4e04d42661cf53cb847787842812b7df53d61f03 /doc/functions
parentff352fc505484a6c2fcc68632e5676d4375485fd (diff)
Remove top level `with lib;` in docs (#293829)
Diffstat (limited to 'doc/functions')
-rw-r--r--doc/functions/generators.section.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/functions/generators.section.md b/doc/functions/generators.section.md
index 8b3ae6843a227..dbfc302a3abf7 100644
--- a/doc/functions/generators.section.md
+++ b/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 {