mirror of
https://github.com/xddxdd/nix-cachyos-kernel.git
synced 2026-07-03 19:18:07 +02:00
feat: enable CONFIG_RUST=y in common settings
Upstream CachyOS (linux-cachyos/config) already ships CONFIG_RUST=y, so this is also a bug fix, the nix packages should mirror upstream but were missing this option. Without CONFIG_RUST=y, the Rust sysroot (libcore, liballoc, libkernel), target.json, and build infrastructure are never generated during `make modules_prepare`, making out-of-tree Rust kernel module compilation impossible despite `withRust = true` and the toolchain being available in moduleBuildDependencies. Closes #37
This commit is contained in:
parent
c9cebabdce
commit
f0bd45133a
@ -4,6 +4,7 @@ with lib.kernel;
|
|||||||
{
|
{
|
||||||
common = {
|
common = {
|
||||||
CACHY = yes;
|
CACHY = yes;
|
||||||
|
RUST = yes;
|
||||||
|
|
||||||
# https://wiki.cachyos.org/configuration/general_system_tweaks/#adios-io-scheduler
|
# https://wiki.cachyos.org/configuration/general_system_tweaks/#adios-io-scheduler
|
||||||
MQ_IOSCHED_ADIOS = yes;
|
MQ_IOSCHED_ADIOS = yes;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user