forked from DGNum/colmena
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:
|
||||
listToAttrs (map (name: { inherit name; value = nodes.${name}.config.deployment; }) names);
|
||||
|
||||
evalAll = evalSelected nodeNames;
|
||||
evalSelected = names: let
|
||||
selected = lib.filterAttrs (name: _: elem name names) toplevel;
|
||||
in selected;
|
||||
|
@ -205,10 +204,13 @@ let
|
|||
metaConfig = lib.filterAttrs (n: v: elem n metaConfigKeys) hive.meta;
|
||||
in {
|
||||
inherit
|
||||
nodes toplevel
|
||||
deploymentConfig deploymentConfigSelected
|
||||
evalAll evalSelected evalSelectedDrvPaths introspect
|
||||
metaConfig;
|
||||
|
||||
meta = hive.meta;
|
||||
deploymentConfig
|
||||
deploymentConfigSelected
|
||||
evalSelected
|
||||
evalSelectedDrvPaths
|
||||
introspect
|
||||
metaConfig
|
||||
nodes
|
||||
toplevel
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue