Fix aufs utilities for NixOS manual
svn path=/nixpkgs/trunk/; revision=17153
This commit is contained in:
parent
af269992e1
commit
0428a7405a
@ -1,6 +1,4 @@
|
|||||||
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; [
|
||||||
@ -35,4 +33,3 @@ rec {
|
|||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else throw "Kernel doesn't support AUFS"
|
|
||||||
|
@ -12,6 +12,7 @@ in
|
|||||||
iwlwifi = true;
|
iwlwifi = true;
|
||||||
zen = true;
|
zen = true;
|
||||||
fbConDecor = true;
|
fbConDecor = true;
|
||||||
|
aufs = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
|
@ -5357,9 +5357,11 @@ let
|
|||||||
inherit fetchgit stdenv kernel perl;
|
inherit fetchgit stdenv kernel perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
aufs2Utils = builderDefsPackage ../os-specific/linux/aufs2-utils {
|
aufs2Utils = if kernel.features ? aufs then
|
||||||
inherit kernel;
|
builderDefsPackage ../os-specific/linux/aufs2-utils {
|
||||||
};
|
inherit kernel;
|
||||||
|
}
|
||||||
|
else null;
|
||||||
|
|
||||||
exmap = import ../os-specific/linux/exmap {
|
exmap = import ../os-specific/linux/exmap {
|
||||||
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user