···1-{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:
2-3-with lib;
4-5-buildLinux (args // rec {
6- version = "5.19.17";
7-8- # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9- modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
10-11- # branchVersion needs to be x.y
12- extraMeta.branch = versions.majorMinor version;
13-14- src = fetchurl {
15- url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16- sha256 = "12cly10lad12idjwlgh2g0pp4hhj57h2qi4fy6jg1lbsm62b6fy9";
17- };
18-} // (args.argsOverride or { }))
···000000000000000000
+2-2
pkgs/os-specific/linux/zfs/default.nix
···16, enablePython ? true
1718# for determining the latest compatible linuxPackages
19-, linuxPackages_5_19 ? pkgs.linuxKernel.packages.linux_5_19
20, linuxPackages_6_0 ? pkgs.linuxKernel.packages.linux_6_0
21}:
22···218 zfsStable = common {
219 # check the release notes for compatible kernels
220 kernelCompatible = kernel.kernelOlder "5.20";
221- latestCompatibleLinuxPackages = linuxPackages_5_19;
222223 # this package should point to the latest release.
224 version = "2.1.6";
···16, enablePython ? true
1718# for determining the latest compatible linuxPackages
19+, linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
20, linuxPackages_6_0 ? pkgs.linuxKernel.packages.linux_6_0
21}:
22···218 zfsStable = common {
219 # check the release notes for compatible kernels
220 kernelCompatible = kernel.kernelOlder "5.20";
221+ latestCompatibleLinuxPackages = linuxPackages_5_15;
222223 # this package should point to the latest release.
224 version = "2.1.6";
+5-10
pkgs/top-level/linux-kernels.nix
···166167 linux_5_18 = throw "linux 5.18 was removed because it has reached its end of life upstream";
168169- linux_5_19 = callPackage ../os-specific/linux/kernel/linux-5.19.nix {
170- kernelPatches = [
171- kernelPatches.bridge_stp_helper
172- kernelPatches.request_key_helper
173- ];
174- };
175176 linux_6_0 = callPackage ../os-specific/linux/kernel/linux-6.0.nix {
177 kernelPatches = [
···193 else testing;
194195 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
196- kernel = linux_5_19;
197 kernelPatches = kernel.kernelPatches;
198 };
199···248 linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
249 linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
250 linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
251- linux_5_19_hardened = hardenedKernelFor kernels.linux_5_19 { };
252 linux_6_0_hardened = hardenedKernelFor kernels.linux_6_0 { };
253254 }));
···535 linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
536 linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
537 linux_5_18 = throw "linux 5.18 was removed because it reached its end of life upstream"; # Added 2022-09-17
538- linux_5_19 = recurseIntoAttrs (packagesFor kernels.linux_5_19);
539 linux_6_0 = recurseIntoAttrs (packagesFor kernels.linux_6_0);
540 };
541···575 linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
576 linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
577 linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
578- linux_5_19_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_19 { });
579 linux_6_0_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_6_0 { });
580581 linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
···166167 linux_5_18 = throw "linux 5.18 was removed because it has reached its end of life upstream";
168169+ linux_5_19 = throw "linux 5.19 was removed because it has reached its end of life upstream";
00000170171 linux_6_0 = callPackage ../os-specific/linux/kernel/linux-6.0.nix {
172 kernelPatches = [
···188 else testing;
189190 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
191+ kernel = linux_6_0;
192 kernelPatches = kernel.kernelPatches;
193 };
194···243 linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
244 linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
245 linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
246+ linux_5_19_hardened = throw "linux 5.19 was removed because it has reached its end of life upstream";
247 linux_6_0_hardened = hardenedKernelFor kernels.linux_6_0 { };
248249 }));
···530 linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
531 linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
532 linux_5_18 = throw "linux 5.18 was removed because it reached its end of life upstream"; # Added 2022-09-17
533+ linux_5_19 = throw "linux 5.19 was removed because it reached its end of life upstream"; # Added 2022-11-01
534 linux_6_0 = recurseIntoAttrs (packagesFor kernels.linux_6_0);
535 };
536···570 linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
571 linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
572 linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
573+ linux_5_19_hardened = throw "linux 5.19 was removed because it has reached its end of life upstream";
574 linux_6_0_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_6_0 { });
575576 linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);