mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
15 lines
485 B
Nix
15 lines
485 B
Nix
{ callPackage, ... } @ args:
|
|
let
|
|
unwrapped = callPackage ./unwrapped.nix (removeAttrs args [ "callPackage" ]);
|
|
kodiPackages = callPackage ../../../top-level/kodi-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);
|
|
};
|
|
};
|
|
})
|