linux: remove xen_dom0 feature entirely
Xen is now enabled unconditionally on kernels that support it, so the xen_dom0 feature doesn't do anything. The isXen attribute will now produce a deprecation warning and unconditionally return true. Passing in a custom value for isXen is no longer supported.
This commit is contained in:
@@ -37,7 +37,6 @@ in {
|
||||
extraMeta ? {},
|
||||
|
||||
# for module compatibility
|
||||
isXen ? features.xen_dom0 or false,
|
||||
isZen ? false,
|
||||
isLibre ? false,
|
||||
isHardened ? false,
|
||||
@@ -94,7 +93,8 @@ let
|
||||
passthru = {
|
||||
inherit version modDirVersion config kernelPatches configfile
|
||||
moduleBuildDependencies stdenv;
|
||||
inherit isXen isZen isHardened isLibre;
|
||||
inherit isZen isHardened isLibre;
|
||||
isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true;
|
||||
kernelOlder = lib.versionOlder version;
|
||||
kernelAtLeast = lib.versionAtLeast version;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user