Describe the bug
looks like #37864
~ 05:25:29 | Got library name: "/nix/store/gwb3nsc2gaphv4wapri50plhrrcincg2-pyotherside-1.5.9/lib/qt-5.14.2/qml/io/thp/pyotherside/libpyothersideplugin.so"
F 05:25:29 | Cannot mix incompatible Qt library (version 0x50c07) with this library (version 0x50e02)
It does start on gnome, but when I log into plasma it crashes like that.
To Reproduce
Steps to reproduce the behavior:
mirage-im and use plasma as a desktop enviroment from different channels (e.g. plasma from stable and mirage from unstable, since it's not yet on stable)Expectation
I would expect to be able to use plasma and mirage at the same time.
Notify maintainers
@colemickens
Metadata
"x86_64-linux"Linux 5.4.57, NixOS, 20.09pre237781.32b46dd897a (Nightingale)yesyesnix-env (Nix) 2.3.7"nixos-20.09pre237781.32b46dd897a""home-manager-20.03, nixpkgs-unstable-20.09pre239228.bd0e645f024"/nix/var/nix/profiles/per-user/root/channels/nixosMaintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: mirage-im
Does clearing the QML cache work?
https://github.com/mirukana/mirage/issues/90
--
Edit: nevermind, this is probably a different issue?
Hmm, I'm now suprised this issue doesn't show up for more qt packages.
As far as I can tell, mirage is correctly wrapped, but the wrapper script doesn't overwrite QT_PLUGIN_PATH, it prepends to it (thus it prepends to the one inherited from plasma). That means it ends up with both versions included. It runs successfully with QT_PLUGIN_PATH= mirage.
Someone with more knowledge of qt packaging might need to say what the correct approach is here
I think this is relevant #86369?
Could anyone check if https://github.com/NixOS/nixpkgs/pull/101369 fixes this? (It will take quiet some time to rebuild your system on top of it).
mirage has been removed from nixpkgs due to being unmaintained.
@sternenseemann this is about mirage-im not mirage
https://github.com/mirukana/mirage
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/mirage/default.nix
I am on Gnome so I can't help much in testing. @ZerataX when you are on a kde session, what's the output of env | grep QT ? I tested that the package doesn't get inputs of incompatible qt versions so I suspect this is a bug in the plasma nixos module or your setup / environment.