···11-{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:
22-33-with lib;
44-55-buildLinux (args // rec {
66- version = "5.18.19";
77-88- # modDirVersion needs to be x.y.z, will automatically add .0 if needed
99- modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
1010-1111- # branchVersion needs to be x.y
1212- extraMeta.branch = versions.majorMinor version;
1313-1414- src = fetchurl {
1515- url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
1616- sha256 = "1mc8zhiw0v7fka64mydpdrxkrvy0jyqggq5lghw3pyqj2wjrpw6z";
1717- };
1818-} // (args.argsOverride or { }))
+3-3
pkgs/os-specific/linux/zfs/default.nix
···1616, enablePython ? true
17171818# for determining the latest compatible linuxPackages
1919-, linuxPackages_5_18 ? pkgs.linuxKernel.packages.linux_5_18
1919+, linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
2020}:
21212222let
···217217 zfsStable = common {
218218 # check the release notes for compatible kernels
219219 kernelCompatible = kernel.kernelOlder "5.19";
220220- latestCompatibleLinuxPackages = linuxPackages_5_18;
220220+ latestCompatibleLinuxPackages = linuxPackages_5_15;
221221222222 # this package should point to the latest release.
223223 version = "2.1.5";
···228228 zfsUnstable = common {
229229 # check the release notes for compatible kernels
230230 kernelCompatible = kernel.kernelOlder "5.19";
231231- latestCompatibleLinuxPackages = linuxPackages_5_18;
231231+ latestCompatibleLinuxPackages = linuxPackages_5_15;
232232233233 # this package should point to a version / git revision compatible with the latest kernel release
234234 # IMPORTANT: Always use a tagged release candidate or commits from the
···168168169169 linux_5_17 = throw "linux 5.17 was removed because it has reached its end of life upstream";
170170171171- linux_5_18 = callPackage ../os-specific/linux/kernel/linux-5.18.nix {
172172- kernelPatches = [
173173- kernelPatches.bridge_stp_helper
174174- kernelPatches.request_key_helper
175175- ];
176176- };
171171+ linux_5_18 = throw "linux 5.18 was removed because it has reached its end of life upstream";
177172178173 linux_5_19 = callPackage ../os-specific/linux/kernel/linux-5.19.nix {
179174 kernelPatches = [
···195190 else testing;
196191197192 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
198198- kernel = linux_5_18;
193193+ kernel = linux_5_19;
199194 kernelPatches = kernel.kernelPatches;
200195 };
201196···248243 linux_5_4_hardened = hardenedKernelFor kernels.linux_5_4 { };
249244 linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
250245 linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
251251- linux_5_18_hardened = hardenedKernelFor kernels.linux_5_18 { };
246246+ linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
252247253248 }));
254249 /* Linux kernel modules are inherently tied to a specific kernel. So
···533528 linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
534529 linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
535530 linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
536536- linux_5_18 = recurseIntoAttrs (packagesFor kernels.linux_5_18);
531531+ linux_5_18 = throw "linux 5.18 was removed because it reached its end of life upstream"; # Added 2022-09-17
537532 linux_5_19 = recurseIntoAttrs (packagesFor kernels.linux_5_19);
538533 };
539534···573568 });
574569 linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
575570 linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
576576- linux_5_18_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_18 { });
571571+ linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
577572578573 linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
579574 linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx);