+21
-11
lib/modules.nix
+21
-11
lib/modules.nix
···throw "The option `${showOption loc}' in `${opt.file}' is already declared in ${showFiles res.declarations}."······(throw "Option `${showOption loc'}' has type optionSet but has no option attribute, in ${showFiles opt.declarations}.");throw "The option ${showOption loc} uses submodules without a wrapping type, in ${showFiles opt.declarations}."-else if tp.name == "attribute set of option sets" then types.attrsOf (types.submodule options)-else if tp.name == "list or attribute set of option sets" then types.loaOf (types.submodule options)
···throw "The option `${showOption loc}' in `${opt.file}' is already declared in ${showFiles res.declarations}."······(throw "Option `${showOption loc'}' has type optionSet but has no option attribute, in ${showFiles opt.declarations}.");throw "The option ${showOption loc} uses submodules without a wrapping type, in ${showFiles opt.declarations}."
+1
-1
lib/options.nix
+1
-1
lib/options.nix
···
···
+115
-27
lib/types.nix
+115
-27
lib/types.nix
···························throw "The option `${showOption loc}' does not have a string value, in ${showFiles (getFiles defs)}."·········-name = builtins.trace "types.optionSet is deprecated; use types.submodule instead" "option set";
···························throw "The option `${showOption loc}' does not have a string value, in ${showFiles (getFiles defs)}."·········+name = builtins.trace "types.optionSet is deprecated; use types.submodule instead" "optionSet";
+88
nixos/doc/manual/development/option-declarations.xml
+88
nixos/doc/manual/development/option-declarations.xml
···
+84
-26
nixos/doc/manual/development/option-types.xml
+84
-26
nixos/doc/manual/development/option-types.xml
···············
···············
+4
-1
nixos/doc/manual/release-notes/rl-1703.xml
+4
-1
nixos/doc/manual/release-notes/rl-1703.xml
···
+1
-1
nixos/modules/installer/tools/nixos-option.sh
+1
-1
nixos/modules/installer/tools/nixos-option.sh
···
···