2022-12-28 21:21:41 +00:00
|
|
|
{ lib, buildPackages, fetchurl, 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-01-11 07:51:40 +00:00
|
|
|
version = "6.2-rc2";
|
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
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
2023-01-11 07:51:40 +00:00
|
|
|
hash = "sha256-QRmOwtoGG2uNCNcAIAltrCT7zaD2V+RNe3bjHGn5+ts=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
|
|
|
} // (args.argsOverride or {}))
|