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-05-09 18:51:32 +02:00
|
|
|
version = "4.9.268";
|
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-05-09 18:51:32 +02:00
|
|
|
sha256 = "0aknrlf5q0dsqib8c9klmf5c60dy7hg2zksb020qvyrp077gcrjv";
|
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 {}))
|