commit 1bd35a1edd9899e023c7fbcfa8ca38aa120e76a3
parent 67c21e51d7113483173bdeb4143441ffd6f853ac
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 7 Oct 2022 00:18:37 +0100
enable config for items in checkedConfig
don't make me have to write them twice
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 {