mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
15 lines
463 B
Nix
15 lines
463 B
Nix
|
{ callPackage, ... } @ args:
|
||
|
let
|
||
|
unwrapped = callPackage ./unwrapped.nix (removeAttrs args [ "callPackage" ]);
|
||
|
kodiPackages = callPackage ./packages.nix { kodi = unwrapped; };
|
||
|
in
|
||
|
unwrapped.overrideAttrs (oldAttrs: {
|
||
|
passthru = oldAttrs.passthru // {
|
||
|
packages = kodiPackages;
|
||
|
withPackages = func: callPackage ./wrapper.nix {
|
||
|
kodi = unwrapped;
|
||
|
addons = kodiPackages.requiredKodiAddons (func kodiPackages);
|
||
|
};
|
||
|
};
|
||
|
})
|