Use attrByPath for feature retrieval

svn path=/nixpkgs/trunk/; revision=17191
This commit is contained in:
Michael Raskin 2009-09-16 13:54:11 +00:00
parent 9d85db847b
commit b5dc8f98d2

View File

@ -5378,7 +5378,7 @@ let
inherit fetchgit stdenv kernel perl;
};
aufs2Utils = if kernel.features ? aufs then
aufs2Utils = if lib.attrByPath ["features" "aufs"] false kernel then
builderDefsPackage ../os-specific/linux/aufs2-utils {
inherit kernel;
}