From ce030d6c356a11fb3fe71a1677d859088e50665d Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Wed, 19 Aug 2009 15:04:11 +0000 Subject: [PATCH] inherit eval to access option declarations from outside programs. svn path=/nixos/trunk/; revision=16770 --- default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index f0020c5a1a6a..863a8339f122 100644 --- a/default.nix +++ b/default.nix @@ -3,9 +3,9 @@ let - inherit - (import ./lib/eval-config.nix {inherit configuration;}) - config optionDeclarations pkgs; + eval = import ./lib/eval-config.nix {inherit configuration;}; + + inherit (eval) config pkgs; vmConfig = (import ./lib/eval-config.nix { inherit configuration; @@ -15,7 +15,7 @@ let in { - inherit config; + inherit eval config; system = config.system.build.system;