14 lines
471 B
Nix
14 lines
471 B
Nix
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
|
|
|
buildLinux (args // rec {
|
|
version = "4.9.276";
|
|
extraMeta.branch = "4.9";
|
|
extraMeta.broken = stdenv.isAarch64;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "16jp05jhmqcp8lawqga69gxn1acdkxsskn3a6wf0635863fky3hv";
|
|
};
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_9 ];
|
|
} // (args.argsOverride or {}))
|