2021-05-20 23:08:51 +00:00
|
|
|
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildLinux (args // rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
version = "4.9.276";
|
2020-04-24 23:36:52 +00:00
|
|
|
extraMeta.branch = "4.9";
|
2021-05-20 23:08:51 +00:00
|
|
|
extraMeta.broken = stdenv.isAarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
2021-07-24 12:14:16 +00:00
|
|
|
sha256 = "16jp05jhmqcp8lawqga69gxn1acdkxsskn3a6wf0635863fky3hv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-04-08 16:26:57 +00:00
|
|
|
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_9 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
} // (args.argsOverride or {}))
|