From 579b5bcca7d204953b2c18e616e4ee9088a5973d Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Tue, 20 Feb 2024 10:25:09 -0500 Subject: [PATCH] fix steev building --- packages/default.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/packages/default.nix b/packages/default.nix index 31b55d6..85a13b1 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -25,6 +25,40 @@ rec { src = sources.linux-steev; version = "6.7.5"; defconfig = "laptop_defconfig"; + + # fix build using extra config from + # https://github.com/boletus-edulis/hydra-test/blob/fffbd42c511e7384be76dc88ea246bc7064d7b49/pkgs/linux_x13s.nix + structuredExtraConfig = with lib.kernel; { + VIDEO_AR1337 = no; + AUDIT = yes; + ARM64_SME = yes; + MAC80211_LEDS = yes; + FW_LOADER_USER_HELPER = yes; + QCOM_EBI2 = yes; + EFI_CAPSULE_LOADER = yes; + SRAM = yes; + KEYBOARD_GPIO = yes; + SERIAL_QCOM_GENI = yes; + PINCTRL_QCOM_SPMI_PMIC = yes; + PINCTRL_SC8280XP_LPASS_LPI = module; + QCOM_TSENS = yes; + BACKLIGHT_CLASS_DEVICE = yes; + VIRTIO_MENU = yes; + VHOST_MENU = yes; + SC_GCC_8280XP = yes; + SC_GPUCC_8280XP = yes; + QCOM_Q6V5_ADSP = module; + QCOM_STATS = yes; + QCOM_CPR = yes; + QCOM_RPMHPD = yes; + QCOM_RPMPD = yes; + PHY_QCOM_QMP_PCIE_8996 = yes; + NVMEM_QCOM_QFPROM = yes; + CRYPTO_AES_ARM64_CE_BLK = yes; + CRYPTO_AES_ARM64_BS = yes; + CRYPTO_AES_ARM64_CE_CCM = yes; + CONFIG_CRYPTO_DEV_CCREE = module; + }; }; "x13s/alsa-ucm-conf" = pkgs.alsa-ucm-conf.overrideAttrs (