kernel/linuxManualConfig: add variant metadata
This commit is contained in:
parent
8be87d0f99
commit
613adb0e88
@ -34,6 +34,13 @@ in {
|
|||||||
randstructSeed ? "",
|
randstructSeed ? "",
|
||||||
# Use defaultMeta // extraMeta
|
# Use defaultMeta // extraMeta
|
||||||
extraMeta ? {},
|
extraMeta ? {},
|
||||||
|
|
||||||
|
# for module compatibility
|
||||||
|
isXen ? features.xen_dom0 or false,
|
||||||
|
isZen ? false,
|
||||||
|
isLibre ? false,
|
||||||
|
isHardened ? false,
|
||||||
|
|
||||||
# Whether to utilize the controversial import-from-derivation feature to parse the config
|
# Whether to utilize the controversial import-from-derivation feature to parse the config
|
||||||
allowImportFromDerivation ? false,
|
allowImportFromDerivation ? false,
|
||||||
# ignored
|
# ignored
|
||||||
@ -86,6 +93,9 @@ let
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit version modDirVersion config kernelPatches configfile
|
inherit version modDirVersion config kernelPatches configfile
|
||||||
moduleBuildDependencies stdenv;
|
moduleBuildDependencies stdenv;
|
||||||
|
inherit isXen isZen isHardened isLibre;
|
||||||
|
kernelOlder = stdenv.lib.versionOlder version;
|
||||||
|
kernelAtLeast = stdenv.lib.versionAtLeast version;
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit src;
|
inherit src;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user