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-07-15 17:15:38 +00:00
|
|
|
version = "6.4-rc7";
|
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-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-UDhLrKe8yMvmWbS19Xt1G3SQpAUWyKrfV3v1MJ5Vep8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
|
|
|
} // (args.argsOverride or {}))
|