kernel/generic: remove redundant kernelOlder/kernelAtLeast

This commit is contained in:
Atemu 2021-11-07 12:12:20 +01:00 committed by Alyssa Ross
parent 09454d0f4a
commit 712db36fa2

View File

@ -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 // {