Add a way to define obsolete options that have no replacement

This commit is contained in:
Eelco Dolstra
2013-10-23 20:08:22 +02:00
parent b5d5afd99a
commit 8f4c5b05d5
4 changed files with 20 additions and 13 deletions
+1 -2
View File
@@ -66,7 +66,6 @@ rec {
# Optionally check wether all config values have corresponding
# option declarations.
config =
let doCheck = optionDefinitions.environment.checkConfigurationOptions; in
assert doCheck -> pkgs.lib.checkModule "" systemModule;
assert optionDefinitions.environment.checkConfigurationOptions -> pkgs.lib.checkModule "" systemModule;
systemModule.config;
}