Browse Source

inherit eval to access option declarations from outside programs.

svn path=/nixos/trunk/; revision=16770
nsd-state-dir
Nicolas Pierron 13 years ago
parent
commit
ce030d6c35
  1. 8
      default.nix

8
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;

Loading…
Cancel
Save