forked from mirrors/nixpkgs
15 lines
471 B
Nix
15 lines
471 B
Nix
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
|
|
|
buildLinux (args // rec {
|
|
version = "4.4.270";
|
|
extraMeta.branch = "4.4";
|
|
extraMeta.broken = stdenv.isAarch64;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "1lz48gv1v3wvw9xvd3y9q4py7ii1g9fj4dwyvvjdzbipyw7s21pq";
|
|
};
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_4 ];
|
|
} // (args.argsOverride or {}))
|