re-enable kernel checkedConfig support

Sometimes config options get silenty removed because they have
dependencies on other options that haven't been enabled. If you add
those as attributes here, the kernel build will check they're _still_
present in the config after make oldconfig has run.
This commit is contained in:
Daniel Barlow 2022-09-30 17:45:05 +01:00
parent c320d0afc7
commit 6a9b14f965
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ let
] nixpkgs.pkgs; ] nixpkgs.pkgs;
squashfs = liminix.builders.squashfs config.filesystem.contents; squashfs = liminix.builders.squashfs config.filesystem.contents;
kernel = callPackage ./kernel { kernel = callPackage ./kernel {
inherit (config.kernel) config; inherit (config.kernel) config checkedConfig;
}; };
in { in {
outputs = { outputs = {

View file

@ -5,6 +5,7 @@
, fetchFromGitHub , fetchFromGitHub
, config , config
, checkedConfig
}: }:
let let
source = fetchFromGitHub { source = fetchFromGitHub {
@ -36,7 +37,6 @@ let
in in
{ {
vmlinux = callPackage ./vmlinux.nix { vmlinux = callPackage ./vmlinux.nix {
inherit tree; inherit tree config checkedConfig;
inherit config;
}; };
} }