kernel/generic: remove redundant kernelOlder/kernelAtLeast
This commit is contained in:
parent
09454d0f4a
commit
712db36fa2
@ -203,8 +203,6 @@ let
|
|||||||
features = kernelFeatures;
|
features = kernelFeatures;
|
||||||
inherit commonStructuredConfig structuredExtraConfig extraMakeFlags isZen isHardened isLibre modDirVersion;
|
inherit commonStructuredConfig structuredExtraConfig extraMakeFlags isZen isHardened isLibre modDirVersion;
|
||||||
isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true;
|
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;
|
|
||||||
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]);
|
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]);
|
||||||
tests = let
|
tests = let
|
||||||
overridableKernel = finalKernel // {
|
overridableKernel = finalKernel // {
|
||||||
|
Loading…
Reference in New Issue
Block a user