2023-04-12 12:48:02 +00:00
|
|
|
{ lib, buildPackages, fetchzip, perl, buildLinux, nixosTests, ... } @ args:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildLinux (args // rec {
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "6.5-rc3";
|
2021-10-28 06:52:43 +00:00
|
|
|
extraMeta.branch = lib.versions.majorMinor version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# modDirVersion needs to be x.y.z, will always add .0
|
2022-12-28 21:21:41 +00:00
|
|
|
modDirVersion = versions.pad 3 version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
src = fetchzip {
|
2020-04-24 23:36:52 +00:00
|
|
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-z4y4eNkY458rxebey3eCG0CUDLJP9oQETVlH8Av3Lhs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
|
|
|
} // (args.argsOverride or {}))
|