linux/generic.nix: Fix CONFIG_RUST

I thought it was module based, but it wasn't.

Fixes https://github.com/NixOS/nixpkgs/pull/306790#issuecomment-2092485576

> This has broken [...] Rust support

authored by Robert Hensing and committed by Alyssa Ross e768d95f 9540fcd1

+1 -1
+1 -1
pkgs/os-specific/linux/kernel/generic.nix
··· 221 221 config = { 222 222 CONFIG_MODULES = "y"; 223 223 CONFIG_FW_LOADER = "m"; 224 - CONFIG_RUST = lib.mkIf withRust "y"; 224 + CONFIG_RUST = if withRust then "y" else "n"; 225 225 }; 226 226 }); 227 227