diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 9d024b539d83d..91b57676abca3 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -33,10 +33,8 @@ let kernelSupportsRust = lib.versionAtLeast version "6.7"; # Currently only enabling Rust by default on kernel 6.12+, - # which actually has features that use Rust that we want, - # and only on x86_64, because of a nixpkgs rustc issue: - # https://github.com/NixOS/nixpkgs/pull/315121#issuecomment-2135805876 - defaultRust = lib.versionAtLeast version "6.12" && stdenv.hostPlatform.isx86_64; + # which actually has features that use Rust that we want. + defaultRust = lib.versionAtLeast version "6.12" && (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64); withRust = (forceRust || defaultRust) && kernelSupportsRust; options = {