forked from DGNum/colmena
eval.nix: Exclude internal Nixpkgs config options from node override warning
This commit is contained in:
parent
3b005b0949
commit
082a033443
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ let
|
||||||
# meta.nixpkgs are overridden.
|
# meta.nixpkgs are overridden.
|
||||||
warnings = let
|
warnings = let
|
||||||
metaKeys = attrNames npkgs.config;
|
metaKeys = attrNames npkgs.config;
|
||||||
nodeKeys = attrNames config.nixpkgs.config;
|
nodeKeys = [ "doCheckByDefault" "warnings" ] ++ (attrNames config.nixpkgs.config);
|
||||||
remainingKeys = filter (k: ! elem k nodeKeys) metaKeys;
|
remainingKeys = filter (k: ! elem k nodeKeys) metaKeys;
|
||||||
in
|
in
|
||||||
lib.optional (length remainingKeys != 0)
|
lib.optional (length remainingKeys != 0)
|
||||||
|
|
Loading…
Reference in a new issue