Merge: linux_6_15: remove (#436253)

Changed files
+10 -27
nixos
doc
manual
configuration
tests
pkgs
os-specific
linux
kernel
top-level
+6
nixos/doc/manual/configuration/linux-kernel.chapter.md
···
pin your kernel onto a non-longterm version, expect your evaluation to fail as
soon as the version is out of maintenance.
+
A kernel will be removed from nixpkgs when the first batch of stable kernels
+
_after_ the final release is published. E.g. when 6.15.11 is the final release
+
of the 6.15 series and is released together with 6.16.3 and 6.12.43, it will be
+
removed on the release of 6.16.4 and 6.12.44. Custom kernel variants such
+
as linux-hardened are also affected by this.
+
Longterm versions of kernels will be removed before the next stable NixOS that will
exceed the maintenance period of the kernel version.
-1
nixos/tests/kernel-generic.nix
···
kernels = pkgs.linuxKernel.vanillaPackages // {
inherit (pkgs.linuxKernel.packages)
linux_6_12_hardened
-
linux_6_15_hardened
linux_rt_5_4
linux_rt_5_10
linux_rt_5_15
-10
pkgs/os-specific/linux/kernel/hardened/patches.json
···
},
"sha256": "09qfpxyxi3z8cd64r2r5mxvh54a5sx8p5mk4d50y4ga2k6pa66bb",
"version": "6.12.41"
-
},
-
"6.15": {
-
"patch": {
-
"extra": "-hardened1",
-
"name": "linux-hardened-v6.15.9-hardened1.patch",
-
"sha256": "132h0cgv8kzrlz7jprqvwcnragc2v793a759bhg0q6w3ninmncjc",
-
"url": "https://github.com/anthraxx/linux-hardened/releases/download/v6.15.9-hardened1/linux-hardened-v6.15.9-hardened1.patch"
-
},
-
"sha256": "0zcma8ycdwwzd4yci9752acsv85wh27lahclh5x2yc4jakw3lkz9",
-
"version": "6.15.9"
}
}
-5
pkgs/os-specific/linux/kernel/kernels-org.json
···
"hash": "sha256:1bmx2vpxy6nkxnmm2a3zmv9smaajfhvslj6id54j4yq2sc722l5n",
"lts": true
},
-
"6.15": {
-
"version": "6.15.11",
-
"hash": "sha256:14sxwrvw9p4ybizb8ky1rgahc62q0aw5qkmzqp3cpnavqfgldaw9",
-
"lts": false
-
},
"6.16": {
"version": "6.16.4",
"hash": "sha256:08mnd8qir2vxjmgblhnqfrfbv2zlig68f4r5askk7d8h3b3y79fn",
+4 -11
pkgs/top-level/linux-kernels.nix
···
];
};
-
linux_6_15 = callPackage ../os-specific/linux/kernel/mainline.nix {
-
branch = "6.15";
-
kernelPatches = [
-
kernelPatches.bridge_stp_helper
-
kernelPatches.request_key_helper
-
];
-
};
-
linux_6_16 = callPackage ../os-specific/linux/kernel/mainline.nix {
branch = "6.16";
kernelPatches = [
···
linux_latest_libre = deblobKernel packageAliases.linux_latest.kernel;
linux_6_12_hardened = hardenedKernelFor kernels.linux_6_12 { };
-
linux_6_15_hardened = hardenedKernelFor kernels.linux_6_15 { };
linux_hardened = hardenedKernelFor packageAliases.linux_default.kernel { };
}
···
linux_6_11 = throw "linux 6.11 was removed because it has reached its end of life upstream";
linux_6_13 = throw "linux 6.13 was removed because it has reached its end of life upstream";
linux_6_14 = throw "linux 6.14 was removed because it has reached its end of life upstream";
+
linux_6_15 = throw "linux 6.15 was removed because it has reached its end of life upstream";
linux_5_10_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS";
linux_5_15_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS";
···
linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream";
linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream";
linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream";
+
linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream";
linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages";
}
···
linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1);
linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6);
linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12);
-
linux_6_15 = recurseIntoAttrs (packagesFor kernels.linux_6_15);
linux_6_16 = recurseIntoAttrs (packagesFor kernels.linux_6_16);
}
// lib.optionalAttrs config.allowAliases {
···
linux_6_11 = throw "linux 6.11 was removed because it reached its end of life upstream"; # Added 2025-03-23
linux_6_13 = throw "linux 6.13 was removed because it reached its end of life upstream"; # Added 2025-06-22
linux_6_14 = throw "linux 6.14 was removed because it reached its end of life upstream"; # Added 2025-06-22
+
linux_6_15 = throw "linux 6.15 was removed because it reached its end of life upstream"; # Added 2025-08-23
};
rtPackages = {
···
linux_hardened = recurseIntoAttrs (packagesFor kernels.linux_hardened);
linux_6_12_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_12_hardened);
-
linux_6_15_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_15_hardened);
linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);
linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx);
···
linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream";
linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream";
linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream";
+
linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream";
linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages";
}
);