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" ]);
|
|
|
|
in
|
|
|
|
unwrapped.overrideAttrs (oldAttrs: {
|
2024-04-21 15:54:59 +00:00
|
|
|
passthru =
|
|
|
|
let
|
|
|
|
finalKodi = oldAttrs.passthru.kodi;
|
|
|
|
kodiPackages = callPackage ../../../top-level/kodi-packages.nix { kodi = finalKodi; };
|
|
|
|
in
|
|
|
|
oldAttrs.passthru // {
|
|
|
|
packages = kodiPackages;
|
|
|
|
withPackages = func: callPackage ./wrapper.nix {
|
|
|
|
kodi = finalKodi;
|
|
|
|
addons = kodiPackages.requiredKodiAddons (func kodiPackages);
|
|
|
|
};
|
|
|
|
};
|
2021-03-15 08:37:03 +00:00
|
|
|
})
|