2021-05-09 04:13:34 +02:00
|
|
|
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
2016-12-12 01:33:05 +01:00
|
|
|
|
2018-01-28 19:50:18 +01:00
|
|
|
buildLinux (args // rec {
|
2021-07-20 21:06:31 +02:00
|
|
|
version = "4.9.276";
|
2016-12-12 01:33:05 +01:00
|
|
|
extraMeta.branch = "4.9";
|
2021-05-09 04:13:34 +02:00
|
|
|
extraMeta.broken = stdenv.isAarch64;
|
2016-12-12 01:33:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
2021-07-20 21:06:31 +02:00
|
|
|
sha256 = "16jp05jhmqcp8lawqga69gxn1acdkxsskn3a6wf0635863fky3hv";
|
2016-12-12 01:33:05 +01:00
|
|
|
};
|
2021-04-07 18:16:28 +02:00
|
|
|
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_9 ];
|
2016-12-12 01:33:05 +01:00
|
|
|
} // (args.argsOverride or {}))
|