fix kconfig override
the default kconfig should be in a config stanza, not in the default attr of the options stanza, otherwise it gets overridden completely instead of merged
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
{ device } :
|
||||
{ lib, ...}:
|
||||
let inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
@@ -11,7 +10,6 @@ in {
|
||||
};
|
||||
kernel = mkOption {
|
||||
type = types.anything;
|
||||
default = { inherit (device.kernel) config checkedConfig; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user