nixpkgs/lib/tests/modules
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
..
disable-recursive
functionTo
types-anything
alias-with-priority-can-override.nix
alias-with-priority.nix
attrsOf-conditional-check.nix
attrsOf-lazy-check.nix
declare-attrsOf.nix lib/tests/modules: Test non-strictness some more 2021-11-03 19:19:41 +01:00
declare-attrsOfSub-any-enable.nix
declare-coerced-value-unsound.nix
declare-coerced-value.nix
declare-either.nix
declare-enable-nested.nix
declare-enable.nix
declare-int-between-value.nix
declare-int-positive-value-nested.nix
declare-int-positive-value.nix
declare-int-unsigned-value.nix
declare-lazyAttrsOf.nix
declare-oneOf.nix
declare-submodule-via-evalModules.nix
declare-submoduleWith-modules.nix
declare-submoduleWith-noshorthand.nix
declare-submoduleWith-path.nix
declare-submoduleWith-shorthand.nix
declare-submoduleWith-special.nix
declare-variants.nix modules: Add moduleType to module arguments 2021-11-22 16:50:50 +01:00
default.nix
define-_module-args-custom.nix
define-attrsOfSub-bar-enable.nix
define-attrsOfSub-bar.nix
define-attrsOfSub-foo-enable-force.nix
define-attrsOfSub-foo-enable-if.nix
define-attrsOfSub-foo-enable.nix
define-attrsOfSub-foo-force-enable.nix
define-attrsOfSub-foo-if-enable.nix
define-attrsOfSub-foo.nix
define-attrsOfSub-force-foo-enable.nix
define-attrsOfSub-if-foo-enable.nix
define-enable-force.nix
define-enable-with-custom-arg.nix
define-enable.nix
define-force-attrsOfSub-foo-enable.nix
define-force-enable.nix
define-if-attrsOfSub-foo-enable.nix
define-module-check.nix
define-option-dependently-nested.nix
define-option-dependently.nix
define-submoduleWith-noshorthand.nix
define-submoduleWith-shorthand.nix
define-value-int-negative.nix
define-value-int-positive.nix
define-value-int-zero.nix
define-value-list.nix
define-value-string-arbitrary.nix
define-value-string-bigint.nix
define-value-string-properties.nix
define-value-string.nix
define-variant.nix modules: Add moduleType to module arguments 2021-11-22 16:50:50 +01:00
disable-declare-enable.nix
disable-define-enable.nix
disable-enable-modules.nix
emptyValues.nix lib/tests: Add tests for emptyValue 2022-02-17 18:48:30 +01:00
freeform-attrsOf.nix
freeform-lazyAttrsOf.nix
freeform-nested.nix lib/tests/modules: Test non-strictness some more 2021-11-03 19:19:41 +01:00
freeform-str-dep-unstr.nix
freeform-submodules.nix lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
freeform-unstr-dep-str.nix
import-custom-arg.nix
import-from-store.nix
optionTypeFile.nix lib.types: Introduce types.optionType 2022-03-01 19:31:00 +01:00
optionTypeMerging.nix lib.types: Introduce types.optionType 2022-03-01 19:31:00 +01:00
raw.nix lib/types: Introduce types.raw for unprocessed values 2022-02-22 15:54:44 +01:00