Fix aufs utilities for NixOS manual

svn path=/nixpkgs/trunk/; revision=17153
This commit is contained in:
Michael Raskin 2009-09-15 10:28:40 +00:00
parent af269992e1
commit 0428a7405a
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,4 @@
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; [
@ -35,4 +33,3 @@ rec {
linux;
};
}
else throw "Kernel doesn't support AUFS"

View File

@ -12,6 +12,7 @@ in
iwlwifi = true;
zen = true;
fbConDecor = true;
aufs = true;
};
extraMeta = {

View File

@ -5357,9 +5357,11 @@ let
inherit fetchgit stdenv kernel perl;
};
aufs2Utils = builderDefsPackage ../os-specific/linux/aufs2-utils {
inherit kernel;
};
aufs2Utils = if kernel.features ? aufs then
builderDefsPackage ../os-specific/linux/aufs2-utils {
inherit kernel;
}
else null;
exmap = import ../os-specific/linux/exmap {
inherit fetchurl stdenv kernel boost pcre pkgconfig;