3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
Silvan Mosberger 023fa7b923 lib.modules: Use types.optionType for _module.freeformType
This ensures that the module file locations are propagated to the
freeform type, which makes it so that submodules in freeform types now
have their declaration location shown in the manual, fixing
https://github.com/NixOS/nixpkgs/issues/132085.

In addition, this also newly allows freeformTypes to be declared
multiple times and all declarations being merged together according to
normal option merging.

This also removes some awkwardness regarding the type of `freeformType`
2022-03-01 19:31:02 +01:00
..
systems lib.systems.supported: remove aarch64-darwin from Tier 3 list 2021-12-16 17:51:21 +01:00
tests lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix fix: typo in lib/attrsets.nix 2022-02-10 01:16:20 +02:00
cli.nix
customisation.nix lib: make extendDerivation lighter on eval 2021-10-15 16:39:10 +02:00
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix lib/modules: introduce setDefaultModuleLocation 2022-01-27 22:12:53 +01:00
deprecated.nix treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
fetchers.nix
filesystem.nix lib: Add readTree function to filesystem 2020-10-19 16:42:21 -07:00
fixed-points.nix lib.compose{Many,}Extensions: Make compatible with nix flake check 2021-08-26 09:12:17 -04:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix Merge pull request #131205 from Ma27/showdefs-overflow 2021-09-29 11:03:31 +02:00
kernel.nix
licenses.nix Merge pull request #155707 from 06kellyjac/feh 2022-02-16 13:31:43 +01:00
lists.nix lib/lists: mutuallyExclusive function optimization 2021-11-01 16:29:01 -04:00
meta.nix lib/meta: fix typo in platformMatch comment 2022-01-24 12:54:22 -03:00
minver.nix
modules.nix lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
options.nix Merge pull request #156503 from hercules-ci/nixos-add-system.build-options 2022-01-25 14:13:24 +01:00
sources.nix lib.sources: Improve docs 2022-01-30 02:04:51 +01:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix lib: fix escapeXML example in documentation 2021-11-02 22:43:25 +01:00
trivial.nix lib.trivial: Change comment type before concat function 2022-01-30 02:02:09 +01:00
types.nix lib.types: Introduce types.optionType 2022-03-01 19:31:00 +01:00
versions.nix
zip-int-bits.nix