···1-{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:
2-3-with lib;
4-5-buildLinux (args // rec {
6- version = "5.18.19";
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 = "1mc8zhiw0v7fka64mydpdrxkrvy0jyqggq5lghw3pyqj2wjrpw6z";
17- };
18-} // (args.argsOverride or { }))
···000000000000000000
+3-3
pkgs/os-specific/linux/zfs/default.nix
···16, enablePython ? true
1718# for determining the latest compatible linuxPackages
19-, linuxPackages_5_18 ? pkgs.linuxKernel.packages.linux_5_18
20}:
2122let
···217 zfsStable = common {
218 # check the release notes for compatible kernels
219 kernelCompatible = kernel.kernelOlder "5.19";
220- latestCompatibleLinuxPackages = linuxPackages_5_18;
221222 # this package should point to the latest release.
223 version = "2.1.5";
···228 zfsUnstable = common {
229 # check the release notes for compatible kernels
230 kernelCompatible = kernel.kernelOlder "5.19";
231- latestCompatibleLinuxPackages = linuxPackages_5_18;
232233 # this package should point to a version / git revision compatible with the latest kernel release
234 # IMPORTANT: Always use a tagged release candidate or commits from the
···16, enablePython ? true
1718# for determining the latest compatible linuxPackages
19+, linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
20}:
2122let
···217 zfsStable = common {
218 # check the release notes for compatible kernels
219 kernelCompatible = kernel.kernelOlder "5.19";
220+ latestCompatibleLinuxPackages = linuxPackages_5_15;
221222 # this package should point to the latest release.
223 version = "2.1.5";
···228 zfsUnstable = common {
229 # check the release notes for compatible kernels
230 kernelCompatible = kernel.kernelOlder "5.19";
231+ latestCompatibleLinuxPackages = linuxPackages_5_15;
232233 # this package should point to a version / git revision compatible with the latest kernel release
234 # IMPORTANT: Always use a tagged release candidate or commits from the
···168169 linux_5_17 = throw "linux 5.17 was removed because it has reached its end of life upstream";
170171- linux_5_18 = callPackage ../os-specific/linux/kernel/linux-5.18.nix {
172- kernelPatches = [
173- kernelPatches.bridge_stp_helper
174- kernelPatches.request_key_helper
175- ];
176- };
177178 linux_5_19 = callPackage ../os-specific/linux/kernel/linux-5.19.nix {
179 kernelPatches = [
···195 else testing;
196197 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
198- kernel = linux_5_18;
199 kernelPatches = kernel.kernelPatches;
200 };
201···248 linux_5_4_hardened = hardenedKernelFor kernels.linux_5_4 { };
249 linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
250 linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
251- linux_5_18_hardened = hardenedKernelFor kernels.linux_5_18 { };
252253 }));
254 /* Linux kernel modules are inherently tied to a specific kernel. So
···533 linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
534 linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
535 linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
536- linux_5_18 = recurseIntoAttrs (packagesFor kernels.linux_5_18);
537 linux_5_19 = recurseIntoAttrs (packagesFor kernels.linux_5_19);
538 };
539···573 });
574 linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
575 linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
576- linux_5_18_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_18 { });
577578 linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
579 linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx);
···168169 linux_5_17 = throw "linux 5.17 was removed because it has reached its end of life upstream";
170171+ linux_5_18 = throw "linux 5.18 was removed because it has reached its end of life upstream";
00000172173 linux_5_19 = callPackage ../os-specific/linux/kernel/linux-5.19.nix {
174 kernelPatches = [
···190 else testing;
191192 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec {
193+ kernel = linux_5_19;
194 kernelPatches = kernel.kernelPatches;
195 };
196···243 linux_5_4_hardened = hardenedKernelFor kernels.linux_5_4 { };
244 linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
245 linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
246+ linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
247248 }));
249 /* Linux kernel modules are inherently tied to a specific kernel. So
···528 linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
529 linux_5_16 = throw "linux 5.16 was removed because it reached its end of life upstream"; # Added 2022-04-23
530 linux_5_17 = throw "linux 5.17 was removed because it reached its end of life upstream"; # Added 2022-06-23
531+ linux_5_18 = throw "linux 5.18 was removed because it reached its end of life upstream"; # Added 2022-09-17
532 linux_5_19 = recurseIntoAttrs (packagesFor kernels.linux_5_19);
533 };
534···568 });
569 linux_5_10_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_10 { });
570 linux_5_15_hardened = recurseIntoAttrs (hardenedPackagesFor kernels.linux_5_15 { });
571+ linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream";
572573 linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
574 linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx);