Require AUFS2 support in kernel

svn path=/nixpkgs/trunk/; revision=17150
This commit is contained in:
Michael Raskin 2009-09-15 08:55:41 +00:00
parent a0fbdffaba
commit 9ff982e4ab

View file

@ -1,4 +1,6 @@
a :
if (a.lib.attrByPath ["features" "zen"] false a.kernel) ||
(a.lib.attrByPath ["features" "aufs"] false a.kernel) then
let
s = import ./src-for-default.nix;
buildInputs = with a; [
@ -33,3 +35,4 @@ rec {
linux;
};
}
else throw "Kernel doesn't support AUFS"