diff options
Diffstat (limited to 'pkgs/build-support/checker/default.nix')
-rw-r--r-- | pkgs/build-support/checker/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/checker/default.nix b/pkgs/build-support/checker/default.nix index ae25493c77c5..33321907125b 100644 --- a/pkgs/build-support/checker/default.nix +++ b/pkgs/build-support/checker/default.nix @@ -16,14 +16,14 @@ let checkAttrInclusion = s: a: b: ( if (! isAttrs b) then s else - if (lib.getAttr ["_type"] "" b) == "option" then "" else + if (lib.attrByPath ["_type"] "" b) == "option" then "" else findInList (x : x != "") ( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix ) then "" else checkAttrInclusion (s + "." + x) (__getAttr x a) - (lib.getAttr [x] null b)) + (lib.attrByPath [x] null b)) (attrNames a)) "" ); in |