maybe overlay?
This commit is contained in:
parent
a408fe179a
commit
264128c458
|
@ -58,18 +58,22 @@ final: prev: rec {
|
|||
widevine-aarch64-4k = final.callPackage ./widevine-aarch64 {pageSize = 4;};
|
||||
widevine-aarch64-16k = final.callPackage ./widevine-aarch64 {pageSize = 16;};
|
||||
|
||||
kodiPackages = prev.kodiPackages.overrideAttrs (kodiPackages: {
|
||||
inputstream-adaptive =
|
||||
kodiPackages.inputstream-adaptive.overrideAttrs
|
||||
(oldAttrs: {
|
||||
extraInstallPhase = let
|
||||
inherit (prev.kodiPackages) addonDir;
|
||||
namespace = "inputstream.adaptive";
|
||||
in ''
|
||||
ln -s $out/lib/addons/${namespace}/libcdm_aarch64_loader.so $out/${addonDir}/${namespace}/libcdm_aarch64_loader.so
|
||||
'';
|
||||
});
|
||||
});
|
||||
kodiPackages =
|
||||
prev.kodiPackages
|
||||
// (let
|
||||
kodiPackages = prev.kodiPackages;
|
||||
in {
|
||||
inputstream-adaptive =
|
||||
kodiPackages.inputstream-adaptive.overrideAttrs
|
||||
(oldAttrs: {
|
||||
extraInstallPhase = let
|
||||
inherit (kodiPackages) addonDir;
|
||||
namespace = "inputstream.adaptive";
|
||||
in ''
|
||||
ln -s $out/lib/addons/${namespace}/libcdm_aarch64_loader.so $out/${addonDir}/${namespace}/libcdm_aarch64_loader.so
|
||||
'';
|
||||
});
|
||||
});
|
||||
|
||||
mpd-headless =
|
||||
(prev.mpdWithFeatures.override {
|
||||
|
|
Loading…
Reference in a new issue