Fix environment.checkConfigurationOptions

This requires delaying the declaredness check until later, otherwise
we get an infinite recursion querying
environment.checkConfigurationOptions.
This commit is contained in:
Eelco Dolstra
2013-10-29 16:18:23 +01:00
parent c407db6316
commit 89b1dd8dde
2 changed files with 26 additions and 17 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ rec {
inherit (pkgs.lib.evalModules {
modules = modules ++ baseModules;
args = extraArgs;
inherit check;
check = check && options.environment.checkConfigurationOptions.value;
}) config options;
# These are the extra arguments passed to every module. In