mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
fc732173dc
https://lwn.net/ml/linux-kernel/CAHk-%3DwifuPqAFXQQTTLkp_%2BFMzxGFHpSG-hEtZazG-46s%3DnoAw%40mail.gmail.com/ https://lwn.net/ml/linux-kernel/CAHk-%3DwgmbjQu3bVSa5JJhEymeQhkr7N3cjg-CoNLVituUnfW8w%40mail.gmail.com/
21 lines
574 B
Nix
21 lines
574 B
Nix
{ lib, buildPackages, fetchzip, perl, buildLinux, nixosTests, ... } @ args:
|
|
|
|
with lib;
|
|
|
|
buildLinux (args // rec {
|
|
version = "6.4-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-gJSVjuYoA5k7XuxRirS/ac770ZfXqIUvI7BUPwxvN1g=";
|
|
};
|
|
|
|
# Should the testing kernels ever be built on Hydra?
|
|
extraMeta.hydraPlatforms = [];
|
|
|
|
} // (args.argsOverride or {}))
|