1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 14:59:43 +01:00
nixos-hardware/microsoft/surface/common/kernel/linux-package.nix

23 lines
409 B
Nix
Raw Normal View History

{ lib,
buildLinux,
callPackage,
linuxPackagesFor,
}:
let
2022-12-31 11:52:38 +01:00
inherit (lib) recurseIntoAttrs;
in {
repos = callPackage ../repos.nix {};
linuxPackage =
{ version,
modDirVersion ? version,
...
} @ args:
let
buildLinux' = buildLinux (args // { inherit modDirVersion; });
linuxPackagesFor' = linuxPackagesFor buildLinux';
in recurseIntoAttrs linuxPackagesFor';
}