mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
14 lines
424 B
Nix
14 lines
424 B
Nix
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
|
|
|
|
buildLinux (args // rec {
|
|
version = "4.9.267";
|
|
extraMeta.branch = "4.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "0q0a49b3wsxk9mqyy8b55lr1gmiqxjpqh2nlhj4xwcfzd7z9lfwq";
|
|
};
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_9 ];
|
|
} // (args.argsOverride or {}))
|