···4646 - `postgresqlEnableTCP`: set to `1` to enable TCP listening. Flaky; not recommended.
4747 - `postgresqlStartCommands`: defaults to `pg_ctl start`.
48484949+## Hooks {#sec-postgresqlTestHook-hooks}
5050+5151+A number of additional hooks are ran in postgresqlTestHook
5252+5353+ - `postgresqlTestSetupPost`: ran after postgresql has been set up.
5454+4955## TCP and the Nix sandbox {#sec-postgresqlTestHook-tcp}
50565157`postgresqlEnableTCP` relies on network sandboxing, which is not available on macOS and some custom Nix installations, resulting in flaky tests.
+7-2
lib/attrsets.nix
···480480481481482482 /* Like `mapAttrs`, except that it recursively applies itself to
483483- attribute sets. Also, the first argument of the argument
484484- function is a *list* of the names of the containing attributes.
483483+ the *leaf* attributes of a potentially-nested attribute set:
484484+ the second argument of the function will never be an attrset.
485485+ Also, the first argument of the argument function is a *list*
486486+ of the attribute names that form the path to the leaf attribute.
487487+488488+ For a function that gives you control over what counts as a leaf,
489489+ see `mapAttrsRecursiveCond`.
485490486491 Example:
487492 mapAttrsRecursive (path: value: concatStringsSep "-" (path ++ [value]))