about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/hardened/config.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-08-16 11:31:42 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-08-16 20:45:58 +0200
commita5341beb789c66ed24a11396dda28f2a1303768e (patch)
tree652d6ba91d047841949cb275e3e9266187230f49 /pkgs/os-specific/linux/kernel/hardened/config.nix
parentc6dc09c9e927f25357a0bf59f28a3e6cbb65e4a4 (diff)
linux: drop `*_latest_hardened`-attributes in favor of versioned attributes
The problem behind this is that the hardened patchset[1]. Quite recently
this led to a weird problem when Linux 5.12 was dropped (and thus had to
be removed from `nixpkgs`), there were no patches for 5.13, so
`linuxPackages_hardened_latest` had to be downgraded to 5.10 as base[2]
which may be rather unintuitive and unexpected.

To avoid these kind of "silent downgrades" in the future, it makes sense
to drop the attribute entirely. If somebody wants to use a hardened
kernel, it's better to explicitly pin it using the newly introduced
versioned attributes, e.g. `linuxPackages_4_14_hardened`.

[1] https://github.com/anthraxx/linux-hardened/
[2] https://github.com/NixOS/nixpkgs/pull/133587
Diffstat (limited to 'pkgs/os-specific/linux/kernel/hardened/config.nix')
0 files changed, 0 insertions, 0 deletions