eval.nix: Ignore typed allowAliases config when checking unoverridden config keys
This was added in NixOS/nixpkgs#166792. Fixes #74.
This commit is contained in:
parent
879e49a455
commit
6a64625fda
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ let
|
|||
# meta.nixpkgs are overridden.
|
||||
warnings = let
|
||||
metaKeys = attrNames npkgs.config;
|
||||
nodeKeys = [ "doCheckByDefault" "warnings" ] ++ (attrNames config.nixpkgs.config);
|
||||
nodeKeys = [ "doCheckByDefault" "warnings" "allowAliases" ] ++ (attrNames config.nixpkgs.config);
|
||||
remainingKeys = filter (k: ! elem k nodeKeys) metaKeys;
|
||||
in
|
||||
lib.optional (length remainingKeys != 0)
|
||||
|
|
Loading…
Reference in a new issue