2023-04-02 23:55:02 +00:00
|
|
|
{ lib, buildPackages, fetchzip, perl, buildLinux, nixosTests, ... } @ args:
|
2019-06-28 15:23:12 +00:00
|
|
|
|
2021-01-15 14:45:37 +00:00
|
|
|
with lib;
|
2014-06-05 11:06:19 +00:00
|
|
|
|
2018-01-28 18:50:18 +00:00
|
|
|
buildLinux (args // rec {
|
2023-09-11 10:25:02 +00:00
|
|
|
version = "6.6-rc1";
|
2021-10-21 19:27:44 +00:00
|
|
|
extraMeta.branch = lib.versions.majorMinor version;
|
2014-06-05 11:06:19 +00:00
|
|
|
|
2019-06-28 15:23:12 +00:00
|
|
|
# modDirVersion needs to be x.y.z, will always add .0
|
2022-12-21 11:49:37 +00:00
|
|
|
modDirVersion = versions.pad 3 version;
|
2019-06-28 15:23:12 +00:00
|
|
|
|
2023-04-02 23:55:02 +00:00
|
|
|
src = fetchzip {
|
2017-05-15 02:03:14 +00:00
|
|
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
2023-09-11 10:25:02 +00:00
|
|
|
hash = "sha256-DRai7HhWVtRB0GiRCvCv2JM2TFKRsZ60ohD6GW0b8As=";
|
2014-06-05 11:06:19 +00:00
|
|
|
};
|
|
|
|
|
2014-06-17 22:23:32 +00:00
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
2014-06-05 11:06:19 +00:00
|
|
|
} // (args.argsOverride or {}))
|