mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
15 lines
471 B
Nix
15 lines
471 B
Nix
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
|
|
|
buildLinux (args // rec {
|
|
version = "4.4.272";
|
|
extraMeta.branch = "4.4";
|
|
extraMeta.broken = stdenv.isAarch64;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "1ar468ymk96v2pq9x209z2z4wbypppb91jpw8g22aa30pr9aagyi";
|
|
};
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_4 ];
|
|
} // (args.argsOverride or {}))
|