ref: reduce eval.nix contract even further
- meta and evalAll contracts are found to be not consumed
This commit is contained in:
parent
83a919bdb0
commit
e309b2d4b2
1 changed files with 9 additions and 7 deletions
|
@ -183,7 +183,6 @@ let
|
||||||
deploymentConfigSelected = names:
|
deploymentConfigSelected = names:
|
||||||
listToAttrs (map (name: { inherit name; value = nodes.${name}.config.deployment; }) names);
|
listToAttrs (map (name: { inherit name; value = nodes.${name}.config.deployment; }) names);
|
||||||
|
|
||||||
evalAll = evalSelected nodeNames;
|
|
||||||
evalSelected = names: let
|
evalSelected = names: let
|
||||||
selected = lib.filterAttrs (name: _: elem name names) toplevel;
|
selected = lib.filterAttrs (name: _: elem name names) toplevel;
|
||||||
in selected;
|
in selected;
|
||||||
|
@ -205,10 +204,13 @@ let
|
||||||
metaConfig = lib.filterAttrs (n: v: elem n metaConfigKeys) hive.meta;
|
metaConfig = lib.filterAttrs (n: v: elem n metaConfigKeys) hive.meta;
|
||||||
in {
|
in {
|
||||||
inherit
|
inherit
|
||||||
nodes toplevel
|
deploymentConfig
|
||||||
deploymentConfig deploymentConfigSelected
|
deploymentConfigSelected
|
||||||
evalAll evalSelected evalSelectedDrvPaths introspect
|
evalSelected
|
||||||
metaConfig;
|
evalSelectedDrvPaths
|
||||||
|
introspect
|
||||||
meta = hive.meta;
|
metaConfig
|
||||||
|
nodes
|
||||||
|
toplevel
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue