mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
inherit eval to access option declarations from outside programs.
svn path=/nixos/trunk/; revision=16770
This commit is contained in:
parent
5980d130c9
commit
ce030d6c35
@ -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…
Reference in New Issue
Block a user