mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-14 06:59:41 +01:00
bd17dc4706
- "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
22 lines
409 B
Nix
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';
|
|
}
|