about summary refs log tree commit diff
path: root/lib/flake.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-10-07 09:58:55 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-10-07 10:01:44 +0200
commitac48f07282b1e71614f198a241e8f08b252ed509 (patch)
treee067ff3b0388c84d7330b27851ea67b9414b33f5 /lib/flake.nix
parent352ed567a786e4c0f9c7a0838783fd9a84e85c5a (diff)
lib/types: always use `<function body>` instead of `[function body]` to indicate a function inside an option structure
The motivation is to have a single identifier for that. Useful for the
next commit where I'll try to escape option-parts correctly (options can
be any kind of strings, but unless these are Nix identifiers, they must
be quoted).

Since `<function body>` (or `<name>`/`*`) are special identifiers in
error messages and the manual, we need a unique way to mark an option
part as function call because these are not to be quoted.
Diffstat (limited to 'lib/flake.nix')
0 files changed, 0 insertions, 0 deletions