4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
20 lines
574 B
Nix
20 lines
574 B
Nix
{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
|
|
|
|
with lib;
|
|
|
|
buildLinux (args // rec {
|
|
version = "6.2-rc6";
|
|
extraMeta.branch = lib.versions.majorMinor version;
|
|
|
|
# modDirVersion needs to be x.y.z, will always add .0
|
|
modDirVersion = versions.pad 3 version;
|
|
|
|
src = fetchurl {
|
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
|
hash = "sha256-rEpJYw5O6OHSwNY8LxlCsw0p9+u9BUjTQ8FsB6+fLbc=";
|
|
};
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
} // (args.argsOverride or {}))
|