2021-03-10 13:16:10 +00:00
|
|
|
{ callPackage, ... } @ args:
|
|
|
|
let
|
|
|
|
unwrapped = callPackage ./unwrapped.nix (removeAttrs args [ "callPackage" ]);
|
2021-03-15 22:50:58 +00:00
|
|
|
kodiPackages = callPackage ../../../top-level/kodi-packages.nix { kodi = unwrapped; };
|
2021-03-10 13:16:10 +00:00
|
|
|
in
|
|
|
|
unwrapped.overrideAttrs (oldAttrs: {
|
|
|
|
passthru = oldAttrs.passthru // {
|
|
|
|
packages = kodiPackages;
|
|
|
|
withPackages = func: callPackage ./wrapper.nix {
|
|
|
|
kodi = unwrapped;
|
|
|
|
addons = kodiPackages.requiredKodiAddons (func kodiPackages);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|