about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix')
-rw-r--r--nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix b/nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix
new file mode 100644
index 000000000000..df298ade0842
--- /dev/null
+++ b/nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix
@@ -0,0 +1,11 @@
+{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
+
+buildLinux (args // rec {
+  version = "4.9.253";
+  extraMeta.branch = "4.9";
+
+  src = fetchurl {
+    url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
+    sha256 = "065w35vb0qp4fvnwmcx7f92inmx64f9r04zzwcwbs0826nl52nws";
+  };
+} // (args.argsOverride or {}))