summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/generic.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2013-03-06 23:59:49 +0400
committerMichael Raskin <7c6f434c@mail.ru>2013-03-06 23:59:49 +0400
commitb72134dc114ca07c2d9e0fe48d88bfbff968524e (patch)
tree5d9e1970530531d0dab5369956688b51881065f8 /pkgs/os-specific/linux/kernel/generic.nix
parent85d464a031c6ac79eb565bdfb49a496dbda9c0c8 (diff)
downloadnixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar.gz
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar.bz2
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar.lz
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar.xz
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.tar.zst
nixpkgs-b72134dc114ca07c2d9e0fe48d88bfbff968524e.zip
Linux: Add 3.9-rc1 as lowPrio (it has a regression fix 3.8.2 lacks)
Diffstat (limited to 'pkgs/os-specific/linux/kernel/generic.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/generic.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix
index 48f050f98cc..48feb6ec421 100644
--- a/pkgs/os-specific/linux/kernel/generic.nix
+++ b/pkgs/os-specific/linux/kernel/generic.nix
@@ -39,6 +39,8 @@
 , # After the builder did a 'make all' (kernel + modules)
   # we force building the target asked: bzImage/zImage/uImage/...
   postBuild ? "make $makeFlags $kernelTarget; make $makeFlags -C scripts unifdef"
+
+, extraBuildNativeInputs ? []
 , ...
 }:
 
@@ -83,7 +85,7 @@ stdenv.mkDerivation {
   # For UML and non-PC, just ignore all options that don't apply (We are lazy).
   ignoreConfigErrors = stdenv.platform.name != "pc";
 
-  buildNativeInputs = [ perl mktemp ];
+  buildNativeInputs = [ perl mktemp ] ++ extraBuildNativeInputs;
   buildInputs = lib.optional (stdenv.platform.uboot != null)
     (ubootChooser stdenv.platform.uboot);
 
@@ -130,6 +132,7 @@ stdenv.mkDerivation {
         " (with patches: "
         + lib.concatStrings (lib.intersperse ", " (map (x: x.name) kernelPatches))
         + ")");
+    inherit version;
     license = "GPLv2";
     homepage = http://www.kernel.org/;
     maintainers = [