I installed kodi like this:
{
services.xserver.desktopManager.kodi.enable = true;
services.xserver.desktopManager.kodi.package =
pkgs.kodi.withPackages (pkgs: with pkgs; [
jellycon
youtube
visualization-matrix
]);
}
I want to make only the youtube addon to follow master branch but failed with this code:
(inputs below is from the flake’s specialArgs)
{ inputs, lib, pkgs, ...}:
let
pkgs-master = import inputs.nixpkgs-master { inherit system; };
in {
kodi = prev.kodi // {
packages = prev.kodi.packages // {
youtube = pkgs-master.kodi.packages.youtube;
};
};
}
Only overlaying the whole kodi is working to make youtube addon follow master branch with this code:
{ inputs, lib, pkgs, ...}:
let
pkgs-master = import inputs.nixpkgs-master { inherit system; };
in {
kodi = pkgs-master.kodi;
}
How to make specifically only youtube addon to follow master nixpkgs branch but not the entire kodi and other addons?
Thansk!