From 1bd35a1edd9899e023c7fbcfa8ca38aa120e76a3 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 7 Oct 2022 00:18:37 +0100 Subject: [PATCH] enable config for items in checkedConfig don't make me have to write them twice --- kernel/vmlinux.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/vmlinux.nix b/kernel/vmlinux.nix index e6466cf..d439af6 100644 --- a/kernel/vmlinux.nix +++ b/kernel/vmlinux.nix @@ -15,7 +15,7 @@ let writeConfig = name : config: writeText name (name: value: (if value == "n" then "# CONFIG_${name} is not set" else "CONFIG_${name}=${value}")) config )); - kconfigFile = writeConfig "kconfig" config; + kconfigFile = writeConfig "kconfig" (config // checkedConfig); checkedConfigFile = writeConfig "checked_kconfig" checkedConfig ; inherit lib; in stdenv.mkDerivation rec {