Commit e768d95f authored by Robert Hensing's avatar Robert Hensing Committed by Alyssa Ross
Browse files

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
parent 9540fcd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ let
    config = {
      CONFIG_MODULES = "y";
      CONFIG_FW_LOADER = "m";
      CONFIG_RUST = lib.mkIf withRust "y";
      CONFIG_RUST = if withRust then "y" else "n";
    };
  });