Help understanding how versions of dependencies are determined

I’ve got some packages that depend on an insecure package (qtwebengine-5 to be specific) - Tellico and jellyfin-media-player. The source specifies:

qtwebengine

The exact version is not defined in either package.

My question is how is the actual version of qtwebengine chosen? Some packages use qtwebengine-6.9.1, some 6.9.0 and the insecure package 5.15.19

Tellico can use qt5 or qt6 according to the website, so why does the dependency not use 6.9.1? Is it that the latest version was 5.15.19 when the package was initially built, or something else? I use flakes, so is there something in the flake system that causes this to happen (and is the issue the same without flakes)?

A follow-on question is what is the best approach to fix the packages that have these dependencies (in this case tellico and jellyfin-media-player).

Thanks for any insight - I have searched for more information, but not found anything helpful, although I suspect that it could be poor search criteria on my part!

Ctrl-F in that file for the remaining. Unless they’re in pkgs/by-name, then it may not be in all-packages.nix.

Don’t use them, they don’t support Qt6.

1 Like

I just read the part where you mentioned tellico can support it.
In that case, you can try switching from libsFromQt5 to kdePackages, possibly other bits in that nix expression need to change too. And looks like tellico already uses qt6 on unstable, btw:

But the PR wasn’t backported to stable for some reason. You could request that to be backported, in that case, citing security concerns.

2 Likes

Thanks for the reply. I am using unstable (forgot to mention) - I had used nix-tree to find the dependencies on 5.15.19 explicitly and up came tellico along with jellyfin. Having got rid of jellyfin, all is good so I can only assume I used nix-tree incorrectly.

Not sure how to ask for the backport in stable but I will do when I work out how!

Here is the relevant github issue for those who find this thread through a search engine

1 Like

jellyfin-media-player qt6 branch nurpkgs/pkgs/jellyfin-media-player at bba2f2e4f1459ac2c98ff601dbaf1891160fc30a · mio-19/nurpkgs · GitHub