linux: forward features into passthru (#535309)
This commit is contained in:
@@ -92,8 +92,7 @@ lib.makeOverridable (
|
||||
|
||||
# Whether to utilize the controversial import-from-derivation feature to parse the config
|
||||
allowImportFromDerivation ? false,
|
||||
# ignored
|
||||
features ? null,
|
||||
features ? { },
|
||||
lib ? lib_,
|
||||
stdenv ? stdenv_,
|
||||
}:
|
||||
@@ -514,6 +513,9 @@ lib.makeOverridable (
|
||||
inherit
|
||||
isZen
|
||||
withRust
|
||||
# Forwarded into passthru so features survive kernel.override() call chains
|
||||
# used by the NixOS module system (see boot.kernelPackages apply in kernel.nix).
|
||||
features
|
||||
;
|
||||
baseVersion = lib.head (lib.splitString "-rc" version);
|
||||
kernelOlder = lib.versionOlder baseVersion;
|
||||
|
||||
Reference in New Issue
Block a user