3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
Maximilian Bosch ac48f07282
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.
2022-10-07 10:01:44 +02:00
..
systems lib/systems/default.nix: add efiArch suffixes 2022-09-29 08:02:35 +00:00
tests lib/types: always use <function body> instead of [function body] to indicate a function inside an option structure 2022-10-07 10:01:44 +02:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix lib.foldAttrs: Clarify example 2022-05-10 07:01:00 +02:00
cli.nix
customisation.nix lib/customization: Improve callPackage error message for missing args 2022-04-01 22:03:05 +02:00
debug.nix
default.nix lib: Add lazyDerivation 2022-09-21 10:55:07 +01:00
deprecated.nix
derivations.nix lib: Add lazyDerivation 2022-09-21 10:55:07 +01:00
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix lib.generators: simplify toYAML 2022-09-28 16:34:55 -04:00
kernel.nix
licenses.nix licenses: add BOLA license 2022-09-28 15:35:51 +02:00
lists.nix Fix a typo in the lib.foldr docstring 2022-08-20 23:58:57 +01:00
meta.nix lib/meta: add getExe to get the main program of a drv 2022-04-24 04:19:49 +03:00
minver.nix boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
modules.nix Merge pull request #193132 from figsoda/clean-up 2022-10-01 17:03:11 -04:00
options.nix lib/options.nix: remove unused binding 2022-09-26 22:18:55 -04:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib/sources.nix: remove unused binding 2022-09-26 22:18:55 -04:00
strings-with-deps.nix
strings.nix lib/strings/toShellVars: handle derivations as strings 2022-05-07 17:01:51 +02:00
trivial.nix lib/trivial: Update oldestSupportedRelease 2022-07-04 20:07:44 +02:00
types.nix lib/types: always use <function body> instead of [function body] to indicate a function inside an option structure 2022-10-07 10:01:44 +02:00
versions.nix
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00