forked from DGNum/liminix
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:
parent
c320d0afc7
commit
6a9b14f965
2 changed files with 3 additions and 3 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue