ref: reduce eval.nix contract even further

- meta and evalAll contracts are found to be not consumed
This commit is contained in:
David Arnold 2022-05-26 17:26:54 -05:00
parent 83a919bdb0
commit e309b2d4b2
No known key found for this signature in database
GPG key ID: 0318D822BAC965CC

View file

@ -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
;
}