Loading
linux-kernels: Introduce kernelPackagesExtensions
Presently, we can only override or extend specific versions of linuxPackages_*. This is not ideal for a overlay which adds a kernel module or overrides the version for a Linux package because we must override every version individually. Python has introduced a pattern, "pythonPackagesExtensions" which is an array of extensions (functions) to modify a given pythonPackages. CUDA has recently done the same with _cuda.extensions. Apply this approach to kernelPackages as well.