From 4d9594e171e059e54fbabbef114493c2b0499c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= Date: Wed, 24 Dec 2025 00:22:28 +0100 Subject: [PATCH] linux/common-config: select RUST_FW_LOADER_ABSTRACTIONS only with Rust Rust may not be available for i686 and the counfigration would fail. Fixes: 6b6c8b140268 ("linux/common-config: explicitly select RUST_FW_LOADER_ABSTRACTIONS for now") --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 28e640404ba1..4c5b100fe3d5 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -564,7 +564,7 @@ let # Required for Nova # FIXME: remove after https://gitlab.freedesktop.org/drm/rust/kernel/-/commit/3d3352e73a55a4ccf110f8b3419bbe2fbfd8a030 lands - RUST_FW_LOADER_ABSTRACTIONS = whenAtLeast "6.12" yes; + RUST_FW_LOADER_ABSTRACTIONS = lib.mkIf withRust (whenAtLeast "6.12" yes); } // lib.optionalAttrs