From 324df04b67cf92017138a13737e7500e67060eb0 Mon Sep 17 00:00:00 2001 From: misuzu Date: Fri, 10 Jun 2022 20:47:44 +0300 Subject: [PATCH] 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. --- pkgs/top-level/linux-kernels.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 2f53fc73874e..d4cf80e36466 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -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;