3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/tests
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
..
modules lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
check-eval.nix
maintainers.nix lib/tests/maintainers: add matrix option 2021-10-01 21:27:00 +02:00
misc.nix lib: fix flake check 2021-12-13 12:03:40 +01:00
modules.sh lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
release.nix lib/tests/sources: update to Nix 2.4 cli syntax 2021-11-09 10:47:20 -08:00
sources.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
systems.nix