mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Require AUFS2 support in kernel
svn path=/nixpkgs/trunk/; revision=17150
This commit is contained in:
parent
a0fbdffaba
commit
9ff982e4ab
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue