nixpkgs/pkgs/os-specific/linux/kernel/linux-5.15.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
537 B
Nix
Raw Normal View History

{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
2021-11-01 07:34:59 +00:00
with lib;
buildLinux (args // rec {
2023-07-05 18:06:08 +00:00
version = "5.15.120";
2021-11-01 07:34:59 +00:00
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
2021-11-01 07:34:59 +00:00
# branchVersion needs to be x.y
extraMeta.branch = versions.majorMinor version;
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
2023-07-05 18:06:08 +00:00
sha256 = "1xl3nrykbxdwv5a9rk0xnb7l61dsyjvkm1ryrdii09vbmsg0i6b4";
2021-11-01 07:34:59 +00:00
};
} // (args.argsOverride or { }))