Replace the check function with a function specialized for modules.
svn path=/nixos/trunk/; revision=18821
This commit is contained in:
parent
82a891dc46
commit
12401536fc
@ -61,7 +61,8 @@ rec {
|
|||||||
|
|
||||||
# Optionally check wether all config values have corresponding
|
# Optionally check wether all config values have corresponding
|
||||||
# option declarations.
|
# option declarations.
|
||||||
config = pkgs.checker optionDefinitions
|
config =
|
||||||
optionDefinitions.environment.checkConfigurationOptions
|
let doCheck = optionDefinitions.environment.checkConfigurationOptions; in
|
||||||
options optionDefinitions;
|
assert doCheck -> pkgs.lib.checkModule "" systemModule;
|
||||||
|
systemModule.config;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user