nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-4.9.nix

15 lines
471 B
Nix
Raw Normal View History

{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
2016-12-12 01:33:05 +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";
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 {}))