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-04-29 16:46:19 +00:00
|
|
|
version = "6.3-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-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-fCfjWJlFN3YZPRmvO1sL1kcYj+dSSuj+n00qowUZ9GI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
|
|
|
} // (args.argsOverride or {}))
|