mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
15 lines
471 B
Nix
15 lines
471 B
Nix
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
|
|
|
|
buildLinux (args // rec {
|
|
version = "4.4.273";
|
|
extraMeta.branch = "4.4";
|
|
extraMeta.broken = stdenv.isAarch64;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "1pd39cak0zhda3m9nvn9yxgd070wxvckaha5wl8pi7c8i6jfpclb";
|
|
};
|
|
|
|
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_4 ];
|
|
} // (args.argsOverride or {}))
|