I would like to try to update the youtube kodi addon to the latest version, but if I try to use something like this
myKodi = with pkgs; (kodi-gbm.withPackages (p: with p; [
(youtube.overrideAttrs (old: rec {
version = "7.1.1.3";
src = old.src.override rec {
owner = "anxdpanic";
repo = "plugin.video.youtube";
rev = "v${version}"; # same problem using also the explicit version
#hash = "sha256-";
};
}))
#[... other addons ...]]]
]));
still version youtube-7.1.0.1 is built, and I don’t understand why (I was expecting an error due to the hash changed). Do you know what is going on? Is it maybe because the addons are created using the buildKodiAddon/toKodiAddon machinery and the derivation looks different?
Amazing (and thanks!), I was expecting a default (wrong) value for the hash or some other error, but not “skipping” my request to create a derivation. What caused that?
For fixed-output derivations, on the other hand, the name of the output path only depends on the outputHash* and name attributes, while all other attributes are ignored for the purpose of computing the output path.