+12
-1
lib/modules.nix
+12
-1
lib/modules.nix
···if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then-baseMsg = "The option `${showOption (prefix ++ firstDef.prefix)}' does not exist. Definition values:${showDefs [ firstDef ]}";+"while evaluating the error message for definitions for `${optText}', which is an option that does not exist"
+3
lib/tests/modules.sh
+3
lib/tests/modules.sh
···checkConfigError 'The option .* does not exist. Definition values:\n\s*- In .*: true' config.enable ./define-enable.nix+checkConfigError 'The option .* does not exist. Definition values:\n\s*- In .*' config.enable ./define-enable-throw.nix+checkConfigError 'while evaluating a definition from `.*/define-enable-abort.nix' config.enable ./define-enable-abort.nix+checkConfigError 'while evaluating the error message for definitions for .enable., which is an option that does not exist' config.enable ./define-enable-abort.nixcheckConfigOutput '^1$' config.bare-submodule.nested ./declare-bare-submodule.nix ./declare-bare-submodule-nested-option.nix