From e3eff53037f1b7abb7a44ba72f59f20649023642 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 5 May 2014 16:23:57 -0400 Subject: evalModules: Add internal option for the check argument --- nixos/lib/eval-config.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos/lib') diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index 460f5601ae76..4ee1c61f54ff 100644 --- a/nixos/lib/eval-config.nix +++ b/nixos/lib/eval-config.nix @@ -31,10 +31,9 @@ in rec { # Merge the option definitions in all modules, forming the full # system configuration. inherit (lib.evalModules { - inherit prefix; + inherit prefix check; modules = modules ++ extraModules ++ baseModules ++ [ pkgsModule ]; args = extraArgs; - check = check && options.environment.checkConfigurationOptions.value; }) config options; # These are the extra arguments passed to every module. In -- cgit v1.2.3