2022-12-04 23:32:25 -05:00
|
|
|
{ lib,
|
|
|
|
buildLinux,
|
|
|
|
callPackage,
|
|
|
|
linuxPackagesFor,
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2022-12-31 05:52:38 -05:00
|
|
|
inherit (lib) recurseIntoAttrs;
|
2022-12-04 23:32:25 -05:00
|
|
|
|
|
|
|
in {
|
|
|
|
repos = callPackage ../repos.nix {};
|
|
|
|
|
|
|
|
linuxPackage =
|
|
|
|
{ version,
|
|
|
|
modDirVersion ? version,
|
|
|
|
...
|
|
|
|
} @ args:
|
|
|
|
let
|
|
|
|
buildLinux' = buildLinux (args // { inherit modDirVersion; });
|
|
|
|
linuxPackagesFor' = linuxPackagesFor buildLinux';
|
|
|
|
in recurseIntoAttrs linuxPackagesFor';
|
|
|
|
}
|