Use attrByPath for feature retrieval
svn path=/nixpkgs/trunk/; revision=17191
This commit is contained in:
parent
9d85db847b
commit
b5dc8f98d2
@ -5378,7 +5378,7 @@ let
|
|||||||
inherit fetchgit stdenv kernel perl;
|
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 {
|
builderDefsPackage ../os-specific/linux/aufs2-utils {
|
||||||
inherit kernel;
|
inherit kernel;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user