linuxPackages: use 5_10 kernel on 32-bit platforms

5_15 fails to build with `Failed to parse base BTF 'vmlinux': -22`
on i686 and armv7l.
This commit is contained in:
misuzu 2022-06-10 20:47:44 +03:00 committed by zowoq
parent ccc4dc517f
commit 324df04b67

View file

@ -565,7 +565,7 @@ in {
});
packageAliases = {
linux_default = if stdenv.hostPlatform.isi686 then packages.linux_5_10 else packages.linux_5_15;
linux_default = if stdenv.hostPlatform.is32bit then packages.linux_5_10 else packages.linux_5_15;
# Update this when adding the newest kernel major version!
linux_latest = packages.linux_5_18;
linux_mptcp = packages.linux_mptcp_95;