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 {
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "6.1-rc8";
|
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";
|
2022-12-17 10:02:37 +00:00
|
|
|
hash = "sha256-YQYxNWZ7HmF3z5M88S8I8tjOaglNYWFtCGlGbDttx64=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
|
|
|
|
} // (args.argsOverride or {}))
|