61210f5e44
- Add kernel 5.10.19 and latest linux-surface patches - Remove kernel 5.10.2 commit 7250b8cbb40bc001109b1032b426ce9923335de0 Author: mexisme <wildjim+dev@kiwinet.org> Date: Fri Feb 5 08:38:10 2021 +1300 commit 90b210dfeeaf6f625e1b7f47dfc3a0b60f4172a6 Author: mexisme <wildjim+dev@kiwinet.org> Date: Fri Feb 5 08:37:41 2021 +1300 commit bbb5dec0e353f841612a1c3a3f933c56ede418b2 Author: mexisme <wildjim+dev@kiwinet.org> Date: Tue Feb 2 23:58:51 2021 +1300 commit bde79616d2795fcedc2d88161933713a9f37e3a7 Author: mexisme <wildjim+dev@kiwinet.org> Date: Tue Feb 2 23:58:35 2021 +1300 commit be5b9c91acaebe1e17d582a1f364995dadcc339d Author: mexisme <wildjim+dev@kiwinet.org> Date: Tue Feb 2 23:57:54 2021 +1300
19 lines
652 B
Nix
19 lines
652 B
Nix
{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
|
|
|
|
with stdenv.lib;
|
|
|
|
buildLinux (args // rec {
|
|
version = "5.10.19";
|
|
|
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
|
|
|
# branchVersion needs to be x.y
|
|
extraMeta.branch = versions.majorMinor version;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
|
sha256 = "1mml5a30ky0khzj3r6ahybycbbszk86agq62qclwq2kzvsqbprr7";
|
|
};
|
|
} // (args.argsOverride or {}))
|