2021-03-15 08:37:03 +00:00
|
|
|
{ callPackage, ... } @ args:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
2021-03-15 08:37:03 +00:00
|
|
|
unwrapped = callPackage ./unwrapped.nix (removeAttrs args [ "callPackage" ]);
|
2021-03-19 17:17:44 +00:00
|
|
|
kodiPackages = callPackage ../../../top-level/kodi-packages.nix { kodi = unwrapped; };
|
2021-03-15 08:37:03 +00:00
|
|
|
in
|
|
|
|
unwrapped.overrideAttrs (oldAttrs: {
|
|
|
|
passthru = oldAttrs.passthru // {
|
|
|
|
packages = kodiPackages;
|
|
|
|
withPackages = func: callPackage ./wrapper.nix {
|
|
|
|
kodi = unwrapped;
|
|
|
|
addons = kodiPackages.requiredKodiAddons (func kodiPackages);
|
|
|
|
};
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
2021-03-15 08:37:03 +00:00
|
|
|
})
|