Require AUFS2 support in kernel
svn path=/nixpkgs/trunk/; revision=17150
This commit is contained in:
parent
a0fbdffaba
commit
9ff982e4ab
@ -1,4 +1,6 @@
|
|||||||
a :
|
a :
|
||||||
|
if (a.lib.attrByPath ["features" "zen"] false a.kernel) ||
|
||||||
|
(a.lib.attrByPath ["features" "aufs"] false a.kernel) then
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
@ -33,3 +35,4 @@ rec {
|
|||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
else throw "Kernel doesn't support AUFS"
|
||||||
|
Loading…
Reference in New Issue
Block a user