* Only build aufs2 for kernels that have the requisite base/standalone

patch applied.

svn path=/nixpkgs/trunk/; revision=22037
This commit is contained in:
Eelco Dolstra 2010-05-28 09:29:39 +00:00
parent dbf8d72080
commit 6daa7866ca
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
{ stdenv, fetchurl, kernel, perl }:
assert kernel.features ? aufsBase;
let version = "20100522"; in
stdenv.mkDerivation {

View File

@ -143,6 +143,7 @@ in
# standalone package.
name = "aufs2";
patch = ./aufs2.patch;
};
features.aufsBase = true;
};
}