inherit eval to access option declarations from outside programs.
svn path=/nixos/trunk/; revision=16770
This commit is contained in:
+4
-4
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit
|
eval = import ./lib/eval-config.nix {inherit configuration;};
|
||||||
(import ./lib/eval-config.nix {inherit configuration;})
|
|
||||||
config optionDeclarations pkgs;
|
inherit (eval) config pkgs;
|
||||||
|
|
||||||
vmConfig = (import ./lib/eval-config.nix {
|
vmConfig = (import ./lib/eval-config.nix {
|
||||||
inherit configuration;
|
inherit configuration;
|
||||||
@@ -15,7 +15,7 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
inherit config;
|
inherit eval config;
|
||||||
|
|
||||||
system = config.system.build.system;
|
system = config.system.build.system;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user