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

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

19 lines
535 B
Nix
Raw Normal View History

{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
2021-01-15 14:45:37 +00:00
with lib;
buildLinux (args // rec {
2023-04-26 17:15:59 +00:00
version = "5.4.242";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
# 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-04-26 17:15:59 +00:00
sha256 = "0a7wfi84p74qsnbj1vamz4qxzp94v054jp1csyfl0blz3knrlbql";
};
} // (args.argsOverride or {}))