mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
21 lines
574 B
Nix
21 lines
574 B
Nix
{ lib, buildPackages, fetchzip, perl, buildLinux, nixosTests, ... } @ args:
|
|
|
|
with lib;
|
|
|
|
buildLinux (args // rec {
|
|
version = "6.3-rc6";
|
|
extraMeta.branch = lib.versions.majorMinor version;
|
|
|
|
# modDirVersion needs to be x.y.z, will always add .0
|
|
modDirVersion = versions.pad 3 version;
|
|
|
|
src = fetchzip {
|
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
|
hash = "sha256-AXgHjWuGt2XQHVS7d/o9IbohfxHp9grtuYp5+EumlH4=";
|
|
};
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
} // (args.argsOverride or {}))
|