mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
small fixes to build custom kernel
svn path=/nixpkgs/trunk/; revision=13795
This commit is contained in:
parent
e7a94d6fef
commit
4e9b120ad2
@ -34,6 +34,8 @@
|
||||
, # A list of additional statements to be appended to the
|
||||
# configuration file.
|
||||
extraConfig ? []
|
||||
|
||||
, preConfigure ? ""
|
||||
}:
|
||||
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
@ -55,6 +57,8 @@ stdenv.mkDerivation {
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
inherit preConfigure;
|
||||
|
||||
inherit src config;
|
||||
|
||||
patches = map (p: p.patch) kernelPatches;
|
||||
|
@ -6445,7 +6445,7 @@ let
|
||||
kernelPackages = kernelPackages_2_6_25;
|
||||
|
||||
customKernel = composedArgsAndFun (lib.sumTwoArgs (import ../os-specific/linux/kernel/generic.nix) {
|
||||
inherit fetchurl stdenv perl mktemp module_init_tools lib;
|
||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||
});
|
||||
|
||||
libselinux = import ../os-specific/linux/libselinux {
|
||||
|
Loading…
Reference in New Issue
Block a user