linuxKernels.kernels.linux_xanmod: apply patch from review

This commit is contained in:
Phillip Cloud 2022-06-05 11:36:21 -05:00
parent d688ec7d80
commit 83171a1dba
No known key found for this signature in database
GPG key ID: D908212070FD785E

View file

@ -14,7 +14,6 @@ let
}; };
xanmodKernelFor = { version, suffix, hash }: buildLinux (args // rec { xanmodKernelFor = { version, suffix, hash }: buildLinux (args // rec {
with (lib.kernel.whenHelpers version);
inherit version; inherit version;
modDirVersion = "${version}-${suffix}"; modDirVersion = "${version}-${suffix}";
@ -25,7 +24,10 @@ let
inherit hash; inherit hash;
}; };
structuredExtraConfig = with lib.kernel; { structuredExtraConfig =
with lib.kernel;
with (lib.kernel.whenHelpers version);
{
# removed options # removed options
CFS_BANDWIDTH = lib.mkForce (option no); CFS_BANDWIDTH = lib.mkForce (option no);
RT_GROUP_SCHED = lib.mkForce (option no); RT_GROUP_SCHED = lib.mkForce (option no);