1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-24 03:49:43 +01:00
nixos-hardware/microsoft/surface/common/kernel/linux-package.nix
mexisme bd17dc4706 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 17:29:13 +13:00

22 lines
409 B
Nix

{ lib,
buildLinux,
callPackage,
linuxPackagesFor,
}:
let
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';
}