From 743bd1f29fb0c2aeeb8e756f23f44a51e4de3596 Mon Sep 17 00:00:00 2001 From: QuantMint Date: Sun, 19 Feb 2023 21:04:50 +0100 Subject: [PATCH] linux: fix-build on i686 --- pkgs/os-specific/linux/kernel/common-config.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 78fe1ad0b993..b03e8e76715b 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -71,13 +71,13 @@ let PM_WAKELOCKS = yes; POWERCAP = yes; # ACPI Firmware Performance Data Table Support - ACPI_FPDT = whenAtLeast "5.12" yes; + ACPI_FPDT = whenAtLeast "5.12" (option yes); # ACPI Heterogeneous Memory Attribute Table Support - ACPI_HMAT = whenAtLeast "5.2" yes; + ACPI_HMAT = whenAtLeast "5.2" (option yes); # ACPI Platform Error Interface - ACPI_APEI = yes; + ACPI_APEI = (option yes); # APEI Generic Hardware Error Source - ACPI_APEI_GHES = yes; + ACPI_APEI_GHES = (option yes); } // optionalAttrs (stdenv.hostPlatform.isx86) { INTEL_IDLE = yes; INTEL_RAPL = whenAtLeast "5.3" module;